DeserializationContext.handleMissingInstantiator()
throws MismatchedInputException
for non-static inner classes
#2522
Milestone
(note: follow up to #2052
So, if no Creator (constructor or factory method) found for a value, exception thrown is of type
MismatchedInputException
which is bit misleading (even if message does explain what is occurring). This is because method called at the end is "reportInputMismatch()" instead of "reportBadDefinition()" -- this may be a simple copy-paste mistake as earlier call in same method uses "reportBadDefinition()".The text was updated successfully, but these errors were encountered: