JsonGenerationException, JsonMappingException, JsonParseExceptionpublic class JsonProcessingException
extends java.io.IOException
IOExceptions will be passed through as is.
Sub-class of IOException for convenience.| Modifier and Type | Field | Description |
|---|---|---|
protected JsonLocation |
mLocation |
| Modifier | Constructor | Description |
|---|---|---|
protected |
JsonProcessingException(java.lang.String msg) |
|
protected |
JsonProcessingException(java.lang.String msg,
java.lang.Throwable rootCause) |
|
protected |
JsonProcessingException(java.lang.String msg,
JsonLocation loc) |
|
protected |
JsonProcessingException(java.lang.String msg,
JsonLocation loc,
java.lang.Throwable rootCause) |
|
protected |
JsonProcessingException(java.lang.Throwable rootCause) |
| Modifier and Type | Method | Description |
|---|---|---|
JsonLocation |
getLocation() |
|
java.lang.String |
getMessage() |
Default method overridden so that we can add location information
|
java.lang.String |
toString() |
protected JsonLocation mLocation
protected JsonProcessingException(java.lang.String msg,
JsonLocation loc,
java.lang.Throwable rootCause)
protected JsonProcessingException(java.lang.String msg)
protected JsonProcessingException(java.lang.String msg,
JsonLocation loc)
protected JsonProcessingException(java.lang.String msg,
java.lang.Throwable rootCause)
protected JsonProcessingException(java.lang.Throwable rootCause)
public JsonLocation getLocation()
public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic java.lang.String toString()
toString in class java.lang.Throwable