Merge pull request #1134 from tommagnusson/patch-1
fix typo in ConstructorConstructor exception
This commit is contained in:
commit
afcb3815d9
|
@ -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