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) |
Modifier and Type | Method and Description |
---|---|
java.lang.Throwable |
getCause() |
public JSONException(java.lang.String message)
message
- Detail about the reason for the exception.public JSONException(java.lang.Throwable t)
public java.lang.Throwable getCause()
getCause
in class java.lang.Throwable