Propagate throws ClassNotFoundException
This commit is contained in:
parent
4e8cc8181c
commit
820c3bc83a
|
@ -195,7 +195,7 @@ public class Generator {
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void writeDeserialize(final Writer writer, final TLObject object) throws IOException {
|
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) {
|
for (int i = 0; i < object.args.size(); ++i) {
|
||||||
final TLArg arg = object.args.get(i);
|
final TLArg arg = object.args.get(i);
|
||||||
if (arg.genericDefinition) {
|
if (arg.genericDefinition) {
|
||||||
|
|
Loading…
Reference in New Issue