|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception org.json.JSONException
public class JSONException
The JSONException is thrown by the JSON.org classes when things are amiss.
Constructor Summary | |
---|---|
JSONException(java.lang.String message)
Constructs a JSONException with an explanatory message. |
|
JSONException(java.lang.Throwable cause)
|
Method Summary | |
---|---|
java.lang.Throwable |
getCause()
|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JSONException(java.lang.String message)
message
- Detail about the reason for the exception.public JSONException(java.lang.Throwable cause)
Method Detail |
---|
public java.lang.Throwable getCause()
getCause
in class java.lang.Throwable
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |