Class IgnoredPropertyException
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
edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.exc.IgnoredPropertyException
- All Implemented Interfaces:
Serializable
Specialized
JsonMappingException
sub-class used to indicate
case where an explicitly ignored property is encountered, and mapper
is configured to consider this an error.- 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
Fields inherited from class edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.exc.PropertyBindingException
_propertiesAsString, _propertyIds, _propertyName, _referringClass
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
ConstructorDescriptionIgnoredPropertyException
(JsonParser p, String msg, JsonLocation loc, Class<?> referringClass, String propName, Collection<Object> propertyIds) IgnoredPropertyException
(String msg, JsonLocation loc, Class<?> referringClass, String propName, Collection<Object> propertyIds) Deprecated.Since 2.7 -
Method Summary
Modifier and TypeMethodDescriptionstatic IgnoredPropertyException
from
(JsonParser p, Object fromObjectOrClass, String propertyName, Collection<Object> propertyIds) Factory method used for constructing instances of this exception type.Methods inherited from class edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.exc.PropertyBindingException
getKnownPropertyIds, getMessageSuffix, getPropertyName, getReferringClass
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
-
Constructor Details
-
IgnoredPropertyException
public IgnoredPropertyException(JsonParser p, String msg, JsonLocation loc, Class<?> referringClass, String propName, Collection<Object> propertyIds) - Since:
- 2.7
-
IgnoredPropertyException
@Deprecated public IgnoredPropertyException(String msg, JsonLocation loc, Class<?> referringClass, String propName, Collection<Object> propertyIds) Deprecated.Since 2.7
-
-
Method Details
-
from
public static IgnoredPropertyException 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-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.
-