Serializable
public final class JsonSyntaxException extends JsonParseException
Constructor | Description |
---|---|
JsonSyntaxException(String msg) |
|
JsonSyntaxException(String msg,
Throwable cause) |
|
JsonSyntaxException(Throwable cause) |
Creates exception with the specified cause.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
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.Copyright © 2018. All rights reserved.