MismatchedInputExceptions that are specifically related
to problems related to binding an individual property.
| Modifier and Type | Field and Description |
|---|---|
| protected transient String | _propertiesAsString
Lazily constructed description of known properties, used for constructing actual message if and as needed. |
| protected final Collection | _propertyIds
Set of ids of properties that are known for the type (see
|
| protected final String | _propertyName
Name of property that has the problem being reported. |
| protected final Class | _referringClass
Class that has the problem with mapping of a property (unrecognized, missing, etc). |
| private static final int | MAX_DESC_LENGTH
Somewhat arbitrary limit, but let's try not to create uselessly huge error messages |
| Access | Constructor and Description |
|---|---|
| protected | PropertyBindingException(JsonParser p, String msg, TokenStreamLocation loc, Class<?> referringClass, String propName, Collection<Object> propertyIds)
|
| Modifier and Type | Method and Description |
|---|---|
| public Collection | |
| public String | getPropertyName()
Convenience method for accessing logical property name that could
not be mapped (see |
| public Class | |
| public String | messageSuffix()
Overrides tools. Accessor that sub-classes can override to append additional information right after the main message, but before source location information. |
| _propertiesAsString | back to summary |
|---|---|
| protected transient String _propertiesAsString Lazily constructed description of known properties, used for constructing actual message if and as needed. | |
| _propertyIds | back to summary |
|---|---|
| protected final Collection<Object> _propertyIds Set of ids of properties that are known for the type (see
| |
| _propertyName | back to summary |
|---|---|
| protected final String _propertyName Name of property that has the problem being reported. Note possibly redundant information since it may also included in the reference path. | |
| _referringClass | back to summary |
|---|---|
| protected final Class<?> _referringClass Class that has the problem with mapping of a property (unrecognized, missing, etc). | |
| MAX_DESC_LENGTH | back to summary |
|---|---|
| private static final int MAX_DESC_LENGTH Somewhat arbitrary limit, but let's try not to create uselessly huge error messages | |
| PropertyBindingException | back to summary |
|---|---|
| protected PropertyBindingException(JsonParser p, String msg, TokenStreamLocation loc, Class<?> referringClass, String propName, Collection<Object> propertyIds) | |
| getKnownPropertyIds | back to summary |
|---|---|
| public Collection | |
| getPropertyName | back to summary |
|---|---|
| public String getPropertyName() Convenience method for accessing logical property name that could
not be mapped (see | |
| getReferringClass | back to summary |
|---|---|
| public Class Method for accessing type (class) that has the problematic property. | |
| messageSuffix | back to summary |
|---|---|
| public String messageSuffix() Overrides tools. Doc from tools. Accessor that sub-classes can override to append additional information right after the main message, but before source location information. Note In Jackson 2.x, accessor was
| |