Propagate throws ClassNotFoundException

This commit is contained in:
Lonami Exo 2018-07-23 22:58:42 +02:00
parent 4e8cc8181c
commit 820c3bc83a
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ public class Generator {
}
private static void writeDeserialize(final Writer writer, final TLObject object) throws IOException {
writer.write("public void deserialize(final BinaryReader reader) {\n");
writer.write("public void deserialize(final BinaryReader reader) throws ClassNotFoundException {\n");
for (int i = 0; i < object.args.size(); ++i) {
final TLArg arg = object.args.get(i);
if (arg.genericDefinition) {