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
Constructor and Description |
---|
IgnoredPropertyException(JsonParser p,
java.lang.String msg,
JsonLocation loc,
java.lang.Class<?> referringClass,
java.lang.String propName,
java.util.Collection<java.lang.Object> propertyIds) |
IgnoredPropertyException(java.lang.String msg,
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 |
---|---|
static IgnoredPropertyException |
from(JsonParser p,
java.lang.Object fromObjectOrClass,
java.lang.String propertyName,
java.util.Collection<java.lang.Object> propertyIds)
Factory method used for constructing instances of this exception type.
|
getKnownPropertyIds, getMessageSuffix, getPropertyName, getReferringClass
from, from, from, getTargetType, setTargetType
from, from, from, from, from, from, from, fromUnexpectedIOE, getLocalizedMessage, getMessage, getPath, getPathReference, getPathReference, getProcessor, prependPath, prependPath, prependPath, toString, wrapWithPath, wrapWithPath, wrapWithPath
clearLocation, getLocation, getOriginalMessage
public IgnoredPropertyException(JsonParser p, java.lang.String msg, JsonLocation loc, java.lang.Class<?> referringClass, java.lang.String propName, java.util.Collection<java.lang.Object> propertyIds)
@Deprecated public IgnoredPropertyException(java.lang.String msg, JsonLocation loc, java.lang.Class<?> referringClass, java.lang.String propName, java.util.Collection<java.lang.Object> propertyIds)
public static IgnoredPropertyException from(JsonParser p, java.lang.Object fromObjectOrClass, java.lang.String propertyName, java.util.Collection<java.lang.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 © 2010 - 2020 Adobe. All Rights Reserved