Serializable
public class IgnoredPropertyException extends PropertyBindingException
JsonMappingException
sub-class used to indicate
case where an explicitly ignored property is encountered, and mapper
is configured to consider this an error.JsonMappingException.Reference
_path, _processor
_targetType
_propertiesAsString, _propertyIds, _propertyName, _referringClass
Constructor | Description |
---|---|
IgnoredPropertyException(com.fasterxml.jackson.core.JsonParser p,
String msg,
com.fasterxml.jackson.core.JsonLocation loc,
Class<?> referringClass,
String propName,
Collection<Object> propertyIds) |
|
IgnoredPropertyException(String msg,
com.fasterxml.jackson.core.JsonLocation loc,
Class<?> referringClass,
String propName,
Collection<Object> propertyIds) |
Deprecated.
Since 2.7
|
Modifier and Type | Method | Description |
---|---|---|
static IgnoredPropertyException |
from(com.fasterxml.jackson.core.JsonParser p,
Object fromObjectOrClass,
String propertyName,
Collection<Object> propertyIds) |
Factory method used for constructing instances of this exception type.
|
_appendPathDesc, _buildMessage, from, from, from, from, from, from, from, fromUnexpectedIOE, getLocalizedMessage, getMessage, getPath, getPathReference, getPathReference, getProcessor, prependPath, prependPath, prependPath, toString, wrapWithPath, wrapWithPath, wrapWithPath
clearLocation, getLocation, getOriginalMessage
from, from, from, getTargetType, setTargetType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getKnownPropertyIds, getMessageSuffix, getPropertyName, getReferringClass
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public IgnoredPropertyException(com.fasterxml.jackson.core.JsonParser p, String msg, com.fasterxml.jackson.core.JsonLocation loc, Class<?> referringClass, String propName, Collection<Object> propertyIds)
@Deprecated public IgnoredPropertyException(String msg, com.fasterxml.jackson.core.JsonLocation loc, Class<?> referringClass, String propName, Collection<Object> propertyIds)
public static IgnoredPropertyException from(com.fasterxml.jackson.core.JsonParser p, Object fromObjectOrClass, String propertyName, Collection<Object> propertyIds)
p
- Underlying parser used for reading input being used for data-bindingfromObjectOrClass
- Reference to either instance of problematic type (
if available), or if not, type itselfpropertyName
- Name of unrecognized propertypropertyIds
- (optional, null if not available) Set of properties that
type would recognize, if completely known: null if set cannot be determined.Copyright © 2008–2018. All rights reserved.