public class JSONException extends RuntimeException
| Constructor and Description |
|---|
JSONException(String message)
Constructs a JSONException with an explanatory message.
|
JSONException(String message,
Throwable cause)
Constructs a JSONException with an explanatory message and cause.
|
JSONException(Throwable cause)
Constructs a new JSONException with the specified cause.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic JSONException(String message)
message - Detail about the reason for the exception.public JSONException(String message, Throwable cause)
message - Detail about the reason for the exception.cause - The cause.public JSONException(Throwable cause)
cause - The cause.