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