org.codehaus.jackson
Class JsonProcessingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.codehaus.jackson.JsonProcessingException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- JsonGenerationException, JsonMappingException, JsonParseException
public class JsonProcessingException
- extends java.io.IOException
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:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
mLocation
protected JsonLocation mLocation
JsonProcessingException
protected JsonProcessingException(java.lang.String msg,
JsonLocation loc,
java.lang.Throwable rootCause)
JsonProcessingException
protected JsonProcessingException(java.lang.String msg)
JsonProcessingException
protected JsonProcessingException(java.lang.String msg,
JsonLocation loc)
JsonProcessingException
protected JsonProcessingException(java.lang.String msg,
java.lang.Throwable rootCause)
JsonProcessingException
protected JsonProcessingException(java.lang.Throwable rootCause)
getLocation
public JsonLocation getLocation()
getMessage
public java.lang.String getMessage()
- Default method overridden so that we can add location information
- Overrides:
getMessage in class java.lang.Throwable
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Throwable