SerializableIgnoredPropertyException, UnrecognizedPropertyExceptionpublic abstract class PropertyBindingException extends MismatchedInputException
JsonMappingExceptions that are specifically related
to problems related to binding an individual property.JsonMappingException.Reference| Modifier and Type | Field | Description |
|---|---|---|
protected String |
_propertiesAsString |
Lazily constructed description of known properties, used for
constructing actual message if and as needed.
|
protected Collection<Object> |
_propertyIds |
Set of ids of properties that are known for the type, if this
can be statically determined.
|
protected String |
_propertyName |
Note: redundant information since it is also included in the
reference path.
|
protected Class<?> |
_referringClass |
Class that does not contain mapping for the unrecognized property.
|
_path, _processor_targetType| Modifier | Constructor | Description |
|---|---|---|
protected |
PropertyBindingException(com.fasterxml.jackson.core.JsonParser p,
String msg,
com.fasterxml.jackson.core.JsonLocation loc,
Class<?> referringClass,
String propName,
Collection<Object> propertyIds) |
|
protected |
PropertyBindingException(String msg,
com.fasterxml.jackson.core.JsonLocation loc,
Class<?> referringClass,
String propName,
Collection<Object> propertyIds) |
Deprecated.
Since 2.7
|
| Modifier and Type | Method | Description |
|---|---|---|
Collection<Object> |
getKnownPropertyIds() |
|
String |
getMessageSuffix() |
|
String |
getPropertyName() |
Convenience method for accessing logical property name that could
not be mapped.
|
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, fromUnexpectedIOE, getLocalizedMessage, getMessage, getPath, getPathReference, getPathReference, getProcessor, prependPath, prependPath, prependPath, toString, wrapWithPath, wrapWithPath, wrapWithPathclearLocation, getLocation, getOriginalMessagefrom, from, from, getTargetType, setTargetTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTraceprotected final Class<?> _referringClass
protected final String _propertyName
Note: redundant information since it is also included in the reference path.
protected final Collection<Object> _propertyIds
protected transient String _propertiesAsString
protected PropertyBindingException(com.fasterxml.jackson.core.JsonParser p,
String msg,
com.fasterxml.jackson.core.JsonLocation loc,
Class<?> referringClass,
String propName,
Collection<Object> propertyIds)
@Deprecated protected PropertyBindingException(String msg, com.fasterxml.jackson.core.JsonLocation loc, Class<?> referringClass, String propName, Collection<Object> propertyIds)
public String getMessageSuffix()
getMessageSuffix in class com.fasterxml.jackson.core.JsonProcessingExceptionpublic Class<?> getReferringClass()
public String getPropertyName()
public Collection<Object> getKnownPropertyIds()
Copyright © 2008–2018. All rights reserved.