public class JSONException
extends java.lang.RuntimeException
| Modifier and Type | Field and Description | 
|---|---|
| private java.lang.Throwable | cause | 
| private static long | serialVersionUID | 
| Constructor and Description | 
|---|
| JSONException(java.lang.String message)Constructs a JSONException with an explanatory message. | 
| JSONException(java.lang.Throwable cause)Constructs a new JSONException with the specified cause. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.Throwable | getCause()Returns the cause of this exception or null if the cause is nonexistent
 or unknown. | 
private static final long serialVersionUID
private java.lang.Throwable cause
public JSONException(java.lang.String message)
message - Detail about the reason for the exception.public JSONException(java.lang.Throwable cause)
cause - The cause.