Class PropertyBindingException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
IgnoredPropertyException, UnrecognizedPropertyException

public abstract class PropertyBindingException extends MismatchedInputException
Base class for JsonMappingExceptions that are specifically related to problems related to binding an individual property.
Since:
2.3
See Also:
  • Method Details

    • getMessageSuffix

      public String getMessageSuffix()
    • getReferringClass

      public Class<?> getReferringClass()
      Method for accessing type (class) that has the problematic property.
    • getPropertyName

      public String getPropertyName()
      Convenience method for accessing logical property name that could not be mapped (see _propertyName). Note that it is likely the last path reference in the underlying path (but not necessarily, depending on the type of problem).
    • getKnownPropertyIds

      public Collection<Object> getKnownPropertyIds()