JsonMappingException sub-class used to indicate
case where an explicitly ignored property is encountered, and mapper
is configured to consider this an error.
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | IgnoredPropertyException(JsonParser p, String msg, JsonLocation loc, Class<?> referringClass, String propName, Collection<Object> propertyIds)
|
| public | IgnoredPropertyException(String msg, JsonLocation loc, Class<?> referringClass, String propName, Collection<Object> propertyIds)
Deprecated
Since 2.7
|
| Modifier and Type | Method and Description |
|---|---|
| public static IgnoredPropertyException | from(JsonParser
Underlying parser used for reading input being used for data-binding p, Object Reference to either instance of problematic type (
if available), or if not, type itself fromObjectOrClass, String Name of unrecognized property propertyName, Collection<Object> (optional, null if not available) Set of properties that
type would recognize, if completely known: null if set cannot be determined. propertyIds)Factory method used for constructing instances of this exception type. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides com. | |
| IgnoredPropertyException | back to summary |
|---|---|
public IgnoredPropertyException(JsonParser p, String msg, JsonLocation loc, Class<?> referringClass, String propName, Collection<Object> propertyIds)
| |
| IgnoredPropertyException | back to summary |
|---|---|
| public IgnoredPropertyException(String msg, JsonLocation loc, Class<?> referringClass, String propName, Collection<Object> propertyIds)
Deprecated Since 2.7
| |
| from | back to summary |
|---|---|
| public static IgnoredPropertyException from(JsonParser p, Object fromObjectOrClass, String propertyName, Collection<Object> propertyIds) Factory method used for constructing instances of this exception type.
| |