public class JSONException
extends java.lang.RuntimeException
| 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. 
 | 
public JSONException(java.lang.String message)
message - Detail about the reason for the exception.public JSONException(java.lang.Throwable cause)
cause - The cause.stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.