org.codehaus.jackson.map.deser
Class ThrowableDeserializer
java.lang.Object
org.codehaus.jackson.map.JsonDeserializer<Object>
org.codehaus.jackson.map.deser.BeanDeserializer
org.codehaus.jackson.map.deser.ThrowableDeserializer
- All Implemented Interfaces:
- ResolvableDeserializer
public class ThrowableDeserializer
- extends BeanDeserializer
Deserializer that builds on basic BeanDeserializer but
override some aspects like instance construction.
| Methods inherited from class org.codehaus.jackson.map.deser.BeanDeserializer |
addIgnorable, addProperty, deserialize, getBeanClass, handleUnknownProperty, removeProperty, reportUnknownField, resolve, setAnySetter, setConstructor, setConstructor, setDefaultConstructor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThrowableDeserializer
public ThrowableDeserializer(JavaType type)
validateConstructors
public void validateConstructors()
- Description copied from class:
BeanDeserializer
- Method called to ensure that there is at least one constructor
that could be used to construct an instance.
- Overrides:
validateConstructors in class BeanDeserializer
deserializeFromObject
public Object deserializeFromObject(JsonParser jp,
DeserializationContext ctxt)
throws IOException,
JsonProcessingException
- Overrides:
deserializeFromObject in class BeanDeserializer
- Throws:
IOException
JsonProcessingException