public class JSONException
extends java.lang.Exception
构造器和说明 |
---|
JSONException(java.lang.String message)
Constructs a JSONException with an explanatory message.
|
JSONException(java.lang.Throwable t)
Constructs a JSONException with an explanatory message.
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.Throwable |
getCause()
Returns the cause of the exception.
|
public JSONException(java.lang.String message)
message
- details about the reason for the exceptionpublic JSONException(java.lang.Throwable t)
t
- the throwable that was thrown