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 the specified cause.
|
public JSONException(java.lang.String message)
message
- Detail about the reason for the exception.public JSONException(java.lang.Throwable t)
t
- The cause.