fix typo in ConstructorConstructor exception
This commit is contained in:
parent
03a72e752e
commit
68cf8fdc95
@ -224,7 +224,7 @@ public final class ConstructorConstructor {
|
|||||||
return (T) newInstance;
|
return (T) newInstance;
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw new RuntimeException(("Unable to invoke no-args constructor for " + type + ". "
|
throw new RuntimeException(("Unable to invoke no-args constructor for " + type + ". "
|
||||||
+ "Register an InstanceCreator with Gson for this type may fix this problem."), e);
|
+ "Registering an InstanceCreator with Gson for this type may fix this problem."), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user