public class ParseException extends RuntimeException
| 构造器和说明 |
|---|
ParseException(String json,
int position,
String message)
Constructs a new json exception with the specified detail message.
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getJson() |
String |
getMessage()
Get message about error when parsing illegal json
|
int |
getPosition() |
public ParseException(String json, int position, String message)
json - the json text which cause JSONParseExceptionposition - the position of illegal escape char at json text;message - the detail message. The detail message is saved for
later retrieval by the getMessage() method.public String getMessage()
getMessage 在类中 Throwablepublic String getJson()
public int getPosition()
Copyright © 2008–2018 The Ant Financial. All rights reserved.