Class PropertyBindingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.core.JacksonException
edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.core.JsonProcessingException
edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.DatabindException
edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.JsonMappingException
edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.exc.MismatchedInputException
edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.exc.PropertyBindingException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
IgnoredPropertyException
,UnrecognizedPropertyException
Base class for
JsonMappingException
s that are specifically related
to problems related to binding an individual property.- Since:
- 2.3
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.JsonMappingException
JsonMappingException.Reference
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
Lazily constructed description of known properties, used for constructing actual message if and as needed.protected final Collection<Object>
Set of ids of properties that are known for the type, if this can be statically determined.protected final String
Note: redundant information since it is also included in the reference path.protected final Class<?>
Class that does not contain mapping for the unrecognized property.Fields inherited from class edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.exc.MismatchedInputException
_targetType
Fields inherited from class edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.JsonMappingException
_path, _processor
Fields inherited from class edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.core.JsonProcessingException
_location
-
Constructor Summary
ModifierConstructorDescriptionprotected
PropertyBindingException
(JsonParser p, String msg, JsonLocation loc, Class<?> referringClass, String propName, Collection<Object> propertyIds) protected
PropertyBindingException
(String msg, JsonLocation loc, Class<?> referringClass, String propName, Collection<Object> propertyIds) Deprecated.Since 2.7 -
Method Summary
Modifier and TypeMethodDescriptionAccessor that sub-classes can override to append additional information right after the main message, but before source location information.Convenience method for accessing logical property name that could not be mapped.Class<?>
Method for accessing type (class) that is missing definition to allow binding of the unrecognized property.Methods inherited from class edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.exc.MismatchedInputException
from, from, from, getTargetType, setTargetType
Methods inherited from class edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.JsonMappingException
_appendPathDesc, _buildMessage, from, from, from, from, from, from, from, fromUnexpectedIOE, getLocalizedMessage, getMessage, getPath, getPathReference, getPathReference, getProcessor, prependPath, prependPath, prependPath, toString, withCause, wrapWithPath, wrapWithPath, wrapWithPath
Methods inherited from class edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.core.JsonProcessingException
clearLocation, getLocation, getOriginalMessage
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
_referringClass
Class that does not contain mapping for the unrecognized property. -
_propertyName
Note: redundant information since it is also included in the reference path.
-
_propertyIds
Set of ids of properties that are known for the type, if this can be statically determined. -
_propertiesAsString
Lazily constructed description of known properties, used for constructing actual message if and as needed.
-
-
Constructor Details
-
PropertyBindingException
protected PropertyBindingException(JsonParser p, String msg, JsonLocation loc, Class<?> referringClass, String propName, Collection<Object> propertyIds) - Since:
- 2.7
-
PropertyBindingException
@Deprecated protected PropertyBindingException(String msg, JsonLocation loc, Class<?> referringClass, String propName, Collection<Object> propertyIds) Deprecated.Since 2.7
-
-
Method Details
-
getMessageSuffix
Description copied from class:JsonProcessingException
Accessor that sub-classes can override to append additional information right after the main message, but before source location information.- Overrides:
getMessageSuffix
in classJsonProcessingException
- Returns:
- Message suffix assigned, if any;
null
if none
-
getReferringClass
Method for accessing type (class) that is missing definition to allow binding of the unrecognized property. -
getPropertyName
Convenience method for accessing logical property name that could not be mapped. Note that it is the last path reference in the underlying path. -
getKnownPropertyIds
-