All Implemented Interfaces:
Serializable

public class UnrecognizedPropertyException extends PropertyBindingException
Specialized 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).
See Also:
  • Constructor Details

  • Method Details

    • from

      public static UnrecognizedPropertyException from(JsonParser p, Object fromObjectOrClass, String propertyName, Collection<Object> propertyIds)
      Factory method used for constructing instances of this exception type.
      Parameters:
      p - Underlying parser used for reading input being used for data-binding
      fromObjectOrClass - Reference to either instance of problematic type ( if available), or if not, type itself
      propertyName - Name of unrecognized property
      propertyIds - (optional, null if not available) Set of properties that type would recognize, if completely known: null if set cannot be determined.