public class JsonProcessingException extends IOException
IOExceptions will be passed through as is.
Sub-class of IOException for convenience.| 限定符和类型 | 字段和说明 |
|---|---|
protected JsonLocation |
mLocation |
| 限定符 | 构造器和说明 |
|---|---|
protected |
JsonProcessingException(String msg) |
protected |
JsonProcessingException(String msg,
JsonLocation loc) |
protected |
JsonProcessingException(String msg,
JsonLocation loc,
Throwable rootCause) |
protected |
JsonProcessingException(String msg,
Throwable rootCause) |
protected |
JsonProcessingException(Throwable rootCause) |
| 限定符和类型 | 方法和说明 |
|---|---|
JsonLocation |
getLocation() |
String |
getMessage()
Default method overridden so that we can add location information
|
String |
toString() |
protected JsonLocation mLocation
protected JsonProcessingException(String msg, JsonLocation loc, Throwable rootCause)
protected JsonProcessingException(String msg)
protected JsonProcessingException(String msg, JsonLocation loc)
protected JsonProcessingException(Throwable rootCause)
public JsonLocation getLocation()
public String getMessage()
getMessage 在类中 Throwable