java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
tools.jackson.core.JacksonException
tools.jackson.databind.DatabindException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InvalidDefinitionException,JsonNodeException,MismatchedInputException,UnresolvedForwardReference,ValueInstantiationException
Exception used to signal fatal problems with mapping of
content, distinct from low-level I/O problems (signaled using
simple
JacksonIOExceptions) or data encoding/decoding
problems (signaled with StreamReadException,
StreamWriteException).
One additional feature is the ability to denote relevant path of references (during serialization/deserialization) to help in troubleshooting.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class tools.jackson.core.JacksonException
JacksonException.Reference -
Field Summary
Fields inherited from class tools.jackson.core.JacksonException
_location, _path, _processor -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDatabindException(Closeable processor, String msg) protectedDatabindException(Closeable processor, String msg, Throwable problem) protectedDatabindException(Closeable processor, String msg, TokenStreamLocation loc) protectedDatabindException(String msg) protectedDatabindException(String msg, TokenStreamLocation loc, Throwable rootCause) -
Method Summary
Modifier and TypeMethodDescriptionstatic DatabindExceptionfrom(JsonGenerator g, String msg) static DatabindExceptionfrom(JsonGenerator g, String msg, Throwable problem) static DatabindExceptionfrom(JsonParser p, String msg) static DatabindExceptionfrom(JsonParser p, String msg, Throwable problem) static DatabindExceptionfrom(DeserializationContext ctxt, String msg) static DatabindExceptionfrom(SerializationContext ctxt, String msg) static DatabindExceptionfrom(SerializationContext ctxt, String msg, Throwable problem) Methods inherited from class tools.jackson.core.JacksonException
_appendPathDesc, _appendReferenceChain, _buildMessage, clearLocation, getLocalizedMessage, getLocation, getMessage, getOriginalMessage, getPath, getPathReference, getPathReference, messageSuffix, prependPath, prependPath, prependPath, processor, toString, withCause, wrapWithPath, wrapWithPath, wrapWithPathMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
DatabindException
-
DatabindException
-
DatabindException
-
DatabindException
-
DatabindException
-
-
Method Details
-
from
-
from
-
from
-
from
-
from
-
from
-
from
-