Exception | Description |
---|---|
IgnoredPropertyException |
Specialized
JsonMappingException sub-class used to indicate
case where an explicitly ignored property is encountered, and mapper
is configured to consider this an error. |
InvalidDefinitionException |
Intermediate exception type used as the base class for all
JsonMappingException s
that are due to problems with target type definition; usually a problem with
annotations used on a class or its properties. |
InvalidFormatException |
Specialized sub-class of
MismatchedInputException
that is used when the underlying problem appears to be that
of bad formatting of a value to deserialize. |
InvalidNullException |
Exception thrown if a `null` value is being encountered for a property
designed as "fail on null" property (see
JsonSetter ). |
InvalidTypeIdException |
Exception thrown when resolution of a type id fails.
|
MismatchedInputException |
General exception type used as the base class for all
JsonMappingException s
that are due to input not mapping to target definition; these are typically
considered "client errors" since target type definition itself is not the root cause
but mismatching input. |
PropertyBindingException |
Base class for
JsonMappingException s that are specifically related
to problems related to binding an individual property. |
UnrecognizedPropertyException |
Specialized
JsonMappingException sub-class specifically used
to indicate problems due to encountering a JSON property that could
not be mapped to an Object property (via getter, constructor argument
or field). |
ValueInstantiationException |
Exception type used for generic failures during processing by
ValueInstantiator :
commonly used to wrap exceptions thrown by constructor or factory
method. |
Copyright © 2008–2020 FasterXML. All rights reserved.