Package org.codehaus.jackson
Class JsonProcessingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.codehaus.jackson.JsonProcessingException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
JsonGenerationException
,JsonMappingException
,JsonParseException
Intermediate base class for all problems encountered when
processing (parsing, generating) JSON content
that are not pure I/O problems.
Regular
IOException
s will be passed through as is.
Sub-class of IOException
for convenience.- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
protected
JsonProcessingException
(String msg, Throwable rootCause) protected
JsonProcessingException
(String msg, JsonLocation loc) protected
JsonProcessingException
(String msg, JsonLocation loc, Throwable rootCause) protected
JsonProcessingException
(Throwable rootCause) -
Method Summary
Modifier and TypeMethodDescriptionDefault method overridden so that we can add location informationtoString()
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
mLocation
-
-
Constructor Details
-
JsonProcessingException
-
JsonProcessingException
-
JsonProcessingException
-
JsonProcessingException
-
JsonProcessingException
-
-
Method Details
-
getLocation
-
getMessage
Default method overridden so that we can add location information- Overrides:
getMessage
in classThrowable
-
toString
-