public class UnrecognizedPropertyException extends PropertyBindingException
JsonMappingException sub-class specifically used
 to indicate problems due to encountering a JSON property that could
 not be mapped to an Object property (via getter, constructor argument
 or field).JsonMappingException.Reference_propertiesAsString, _propertyIds, _propertyName, _referringClass_targetType_path, _processor_location| Constructor and Description | 
|---|
| UnrecognizedPropertyException(JsonParser p,
                             String msg,
                             JsonLocation loc,
                             Class<?> referringClass,
                             String propName,
                             Collection<Object> propertyIds) | 
| UnrecognizedPropertyException(String msg,
                             JsonLocation loc,
                             Class<?> referringClass,
                             String propName,
                             Collection<Object> propertyIds)Deprecated. 
 Since 2.7 | 
| Modifier and Type | Method and Description | 
|---|---|
| static UnrecognizedPropertyException | from(JsonParser p,
    Object fromObjectOrClass,
    String propertyName,
    Collection<Object> propertyIds)Factory method used for constructing instances of this exception type. | 
getKnownPropertyIds, getMessageSuffix, getPropertyName, getReferringClassfrom, from, from, getTargetType, setTargetType_appendPathDesc, _buildMessage, from, from, from, from, from, from, from, fromUnexpectedIOE, getLocalizedMessage, getMessage, getPath, getPathReference, getPathReference, getProcessor, prependPath, prependPath, prependPath, toString, wrapWithPath, wrapWithPath, wrapWithPathclearLocation, getLocation, getOriginalMessageaddSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic UnrecognizedPropertyException(JsonParser p, String msg, JsonLocation loc, Class<?> referringClass, String propName, Collection<Object> propertyIds)
@Deprecated public UnrecognizedPropertyException(String msg, JsonLocation loc, Class<?> referringClass, String propName, Collection<Object> propertyIds)
public static UnrecognizedPropertyException from(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–2020 FasterXML. All rights reserved.