public class JSONException extends java.lang.Exception
| Constructor and Description |
|---|
JSONException(java.lang.String message)
Constructs a JSONException with an explanatory message.
|
JSONException(java.lang.Throwable t)
Constructs a JSONException with an explanatory message.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Throwable |
getCause()
Returns the cause of the exception.
|
public JSONException(java.lang.String message)
message - details about the reason for the exceptionpublic JSONException(java.lang.Throwable t)
t - the throwable that was thrownpublic java.lang.Throwable getCause()
getCause in class java.lang.Throwable