public class JSONException
extends java.lang.RuntimeException
| 构造器和说明 |
|---|
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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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.