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
IOExceptions will be passed through as is.
Sub-class of IOException for convenience.- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedJsonProcessingException(String msg, Throwable rootCause) protectedJsonProcessingException(String msg, JsonLocation loc) protectedJsonProcessingException(String msg, JsonLocation loc, Throwable rootCause) protectedJsonProcessingException(Throwable rootCause) -
Method Summary
Modifier and TypeMethodDescriptionDefault method overridden so that we can add location informationtoString()Methods inherited from class 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:
getMessagein classThrowable
-
toString
-