Class InvalidDefinitionException
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.InvalidDefinitionException
- All Implemented Interfaces:
Serializable
Intermediate exception type used as the base class for all
JsonMappingException
s
that are due to problems with target type definition; usually a problem with
annotations used on a class or its properties.
This is in contrast to MismatchedInputException
which
signals a problem with input to map.- Since:
- 2.9
- 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 BeanDescription
protected BeanPropertyDefinition
protected final JavaType
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
InvalidDefinitionException
(JsonGenerator g, String msg, BeanDescription bean, BeanPropertyDefinition prop) protected
InvalidDefinitionException
(JsonGenerator g, String msg, JavaType type) protected
InvalidDefinitionException
(JsonParser p, String msg, BeanDescription bean, BeanPropertyDefinition prop) protected
InvalidDefinitionException
(JsonParser p, String msg, JavaType type) -
Method Summary
Modifier and TypeMethodDescriptionstatic InvalidDefinitionException
from
(JsonGenerator g, String msg, BeanDescription bean, BeanPropertyDefinition prop) static InvalidDefinitionException
from
(JsonGenerator g, String msg, JavaType type) static InvalidDefinitionException
from
(JsonParser p, String msg, BeanDescription bean, BeanPropertyDefinition prop) static InvalidDefinitionException
from
(JsonParser p, String msg, JavaType type) Accessor for type definition (class) that had the definition problem, if any; may sometimes be undefined or unknown; if so, returnsnull
.Accessor for property that had the definition problem if any (none, for example if the problem relates to type in general), if known.getType()
Accessor for type fully resolved type that had the problem; this should always known and available, nevernull
Methods inherited from class edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.JsonMappingException
_appendPathDesc, _buildMessage, from, 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
-
_type
-
_beanDesc
-
_property
-
-
Constructor Details
-
InvalidDefinitionException
-
InvalidDefinitionException
-
InvalidDefinitionException
protected InvalidDefinitionException(JsonParser p, String msg, BeanDescription bean, BeanPropertyDefinition prop) -
InvalidDefinitionException
protected InvalidDefinitionException(JsonGenerator g, String msg, BeanDescription bean, BeanPropertyDefinition prop)
-
-
Method Details
-
from
public static InvalidDefinitionException from(JsonParser p, String msg, BeanDescription bean, BeanPropertyDefinition prop) -
from
-
from
public static InvalidDefinitionException from(JsonGenerator g, String msg, BeanDescription bean, BeanPropertyDefinition prop) -
from
-
getType
Accessor for type fully resolved type that had the problem; this should always known and available, nevernull
-
getBeanDescription
Accessor for type definition (class) that had the definition problem, if any; may sometimes be undefined or unknown; if so, returnsnull
. -
getProperty
Accessor for property that had the definition problem if any (none, for example if the problem relates to type in general), if known. If not known (or relevant), returnsnull
.
-