public final class JsonSyntaxException extends JsonParseException
构造器和说明 |
---|
JsonSyntaxException(String msg) |
JsonSyntaxException(String msg,
Throwable cause) |
JsonSyntaxException(Throwable cause)
Creates exception with the specified cause.
|
public JsonSyntaxException(String msg)
public JsonSyntaxException(Throwable cause)
JsonSyntaxException(String, Throwable)
instead if you can
describe what actually happened.cause
- root exception that caused this exception to be thrown.