public abstract class PropertyBindingException extends JsonMappingException
JsonMappingExceptions that are specifically related
to problems related to binding an individual property.JsonMappingException.Reference| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
_propertiesAsString
Lazily constructed description of known properties, used for
constructing actual message if and as needed.
|
protected java.util.Collection<java.lang.Object> |
_propertyIds
Set of ids of properties that are known for the type, if this
can be statically determined.
|
protected java.lang.String |
_propertyName
Note: redundant information since it is also included in the
reference path.
|
protected java.lang.Class<?> |
_referringClass
Class that does not contain mapping for the unrecognized property.
|
_path, _processor| Modifier | Constructor and Description |
|---|---|
protected |
PropertyBindingException(com.fasterxml.jackson.core.JsonParser p,
java.lang.String msg,
com.fasterxml.jackson.core.JsonLocation loc,
java.lang.Class<?> referringClass,
java.lang.String propName,
java.util.Collection<java.lang.Object> propertyIds) |
protected |
PropertyBindingException(java.lang.String msg,
com.fasterxml.jackson.core.JsonLocation loc,
java.lang.Class<?> referringClass,
java.lang.String propName,
java.util.Collection<java.lang.Object> propertyIds)
Deprecated.
Since 2.7
|
| Modifier and Type | Method and 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.
|
_appendPathDesc, _buildMessage, from, from, from, from, from, from, from, from, fromUnexpectedIOE, getLocalizedMessage, getMessage, getPath, getPathReference, getPathReference, getProcessor, prependPath, prependPath, prependPath, toString, wrapWithPath, wrapWithPath, wrapWithPathgetLocation, getOriginalMessageprotected final java.lang.Class<?> _referringClass
protected final java.lang.String _propertyName
Note: redundant information since it is also included in the reference path.
protected final java.util.Collection<java.lang.Object> _propertyIds
protected transient java.lang.String _propertiesAsString
protected PropertyBindingException(com.fasterxml.jackson.core.JsonParser p,
java.lang.String msg,
com.fasterxml.jackson.core.JsonLocation loc,
java.lang.Class<?> referringClass,
java.lang.String propName,
java.util.Collection<java.lang.Object> propertyIds)
@Deprecated
protected PropertyBindingException(java.lang.String msg,
com.fasterxml.jackson.core.JsonLocation loc,
java.lang.Class<?> referringClass,
java.lang.String propName,
java.util.Collection<java.lang.Object> propertyIds)
public java.lang.String getMessageSuffix()
getMessageSuffix in class com.fasterxml.jackson.core.JsonProcessingExceptionpublic java.lang.Class<?> getReferringClass()
public java.lang.String getPropertyName()
public java.util.Collection<java.lang.Object> getKnownPropertyIds()