Class InvalidFormatException
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.InvalidFormatException
- All Implemented Interfaces:
Serializable
Specialized sub-class of
MismatchedInputException
that is used when the underlying problem appears to be that
of bad formatting of a value to deserialize.- Since:
- 2.1
- 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 final Object
Underlying value that could not be deserialized into target type, if available.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
ConstructorDescriptionInvalidFormatException
(JsonParser p, String msg, Object value, Class<?> targetType) InvalidFormatException
(String msg, JsonLocation loc, Object value, Class<?> targetType) Deprecated.InvalidFormatException
(String msg, Object value, Class<?> targetType) Deprecated.Since 2.7 Use variant that takesJsonParser
-
Method Summary
Modifier and TypeMethodDescriptionstatic InvalidFormatException
from
(JsonParser p, String msg, Object value, Class<?> targetType) getValue()
Accessor for checking source value (String, Number usually) that could not be deserialized into target type (MismatchedInputException.getTargetType()
).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, getMessageSuffix, getOriginalMessage
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
_value
Underlying value that could not be deserialized into target type, if available.
-
-
Constructor Details
-
InvalidFormatException
Deprecated.Since 2.7 Use variant that takesJsonParser
-
InvalidFormatException
@Deprecated public InvalidFormatException(String msg, JsonLocation loc, Object value, Class<?> targetType) Deprecated.Since 2.7 Use variant that takesJsonParser
-
InvalidFormatException
- Since:
- 2.7
-
-
Method Details
-
from
public static InvalidFormatException from(JsonParser p, String msg, Object value, Class<?> targetType) -
getValue
Accessor for checking source value (String, Number usually) that could not be deserialized into target type (MismatchedInputException.getTargetType()
). Note that value may not be available, depending on who throws the exception and when.
-
JsonParser