Class PropertyBindingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- com.fasterxml.jackson.core.JacksonException
-
- com.fasterxml.jackson.core.JsonProcessingException
-
- com.fasterxml.jackson.databind.DatabindException
-
- com.fasterxml.jackson.databind.JsonMappingException
-
- com.fasterxml.jackson.databind.exc.MismatchedInputException
-
- com.fasterxml.jackson.databind.exc.PropertyBindingException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
IgnoredPropertyException
,UnrecognizedPropertyException
public abstract class PropertyBindingException extends MismatchedInputException
Base class forJsonMappingException
s that are specifically related to problems related to binding an individual property.- Since:
- 2.3
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonMappingException
JsonMappingException.Reference
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<java.lang.Object>
getKnownPropertyIds()
java.lang.String
getMessageSuffix()
java.lang.String
getPropertyName()
Convenience method for accessing logical property name that could not be mapped.java.lang.Class<?>
getReferringClass()
Method for accessing type (class) that is missing definition to allow binding of the unrecognized property.-
Methods inherited from class com.fasterxml.jackson.databind.exc.MismatchedInputException
from, from, from, getTargetType, setTargetType
-
Methods inherited from class com.fasterxml.jackson.databind.JsonMappingException
from, from, from, from, from, from, from, fromUnexpectedIOE, getLocalizedMessage, getMessage, getPath, getPathReference, getPathReference, getProcessor, prependPath, prependPath, prependPath, toString, withCause, wrapWithPath, wrapWithPath, wrapWithPath
-
Methods inherited from class com.fasterxml.jackson.core.JsonProcessingException
clearLocation, getLocation, getOriginalMessage
-
-
-
-
Method Detail
-
getMessageSuffix
public java.lang.String getMessageSuffix()
-
getReferringClass
public java.lang.Class<?> getReferringClass()
Method for accessing type (class) that is missing definition to allow binding of the unrecognized property.
-
getPropertyName
public java.lang.String getPropertyName()
Convenience method for accessing logical property name that could not be mapped. Note that it is the last path reference in the underlying path.
-
getKnownPropertyIds
public java.util.Collection<java.lang.Object> getKnownPropertyIds()
-
-