JsonMappingExceptions
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.
| Modifier and Type | Field and Description |
|---|---|
| protected transient BeanDescription | |
| protected transient BeanPropertyDefinition | |
| protected final JavaType |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected | |
| protected | InvalidDefinitionException(JsonParser p, String msg, BeanDescription bean, BeanPropertyDefinition prop)
|
| protected | InvalidDefinitionException(JsonGenerator g, String msg, BeanDescription bean, BeanPropertyDefinition prop)
|
| Modifier and Type | Method and Description |
|---|---|
| public static InvalidDefinitionException | |
| public static InvalidDefinitionException | |
| public static InvalidDefinitionException | |
| public static InvalidDefinitionException | |
| public BeanDescription | getBeanDescription()
Accessor for type definition (class) that had the definition problem, if any; may sometimes
be undefined or unknown; if so, returns |
| public BeanPropertyDefinition | getProperty()
Accessor for property that had the definition problem if any (none, for example if the problem relates to type in general), if known. |
| public JavaType | getType()
Accessor for type fully resolved type that had the problem; this should always
known and available, never |
| _beanDesc | back to summary |
|---|---|
| protected transient BeanDescription _beanDesc | |
| _property | back to summary |
|---|---|
| protected transient BeanPropertyDefinition _property | |
| _type | back to summary |
|---|---|
| protected final JavaType _type | |
| InvalidDefinitionException | back to summary |
|---|---|
| protected InvalidDefinitionException(JsonParser p, String msg, JavaType type) | |
| InvalidDefinitionException | back to summary |
|---|---|
| protected InvalidDefinitionException(JsonGenerator g, String msg, JavaType type) | |
| InvalidDefinitionException | back to summary |
|---|---|
| protected InvalidDefinitionException(JsonParser p, String msg, BeanDescription bean, BeanPropertyDefinition prop) | |
| InvalidDefinitionException | back to summary |
|---|---|
| protected InvalidDefinitionException(JsonGenerator g, String msg, BeanDescription bean, BeanPropertyDefinition prop) | |
| from | back to summary |
|---|---|
| public static InvalidDefinitionException from(JsonParser p, String msg, BeanDescription bean, BeanPropertyDefinition prop) | |
| from | back to summary |
|---|---|
| public static InvalidDefinitionException from(JsonParser p, String msg, JavaType type) | |
| from | back to summary |
|---|---|
| public static InvalidDefinitionException from(JsonGenerator g, String msg, BeanDescription bean, BeanPropertyDefinition prop) | |
| from | back to summary |
|---|---|
| public static InvalidDefinitionException from(JsonGenerator g, String msg, JavaType type) | |
| getBeanDescription | back to summary |
|---|---|
| public BeanDescription getBeanDescription() Accessor for type definition (class) that had the definition problem, if any; may sometimes
be undefined or unknown; if so, returns | |
| getProperty | back to summary |
|---|---|
| public BeanPropertyDefinition 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), returns | |
| getType | back to summary |
|---|---|
| public JavaType getType() Accessor for type fully resolved type that had the problem; this should always
known and available, never | |