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