Package org.opencms.json
Class JSONException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.opencms.json.JSONException
-
- All Implemented Interfaces:
java.io.Serializable
public class JSONException extends java.lang.Exception
The JSONException is thrown by the JSON.org classes when things are amiss.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JSONException(java.lang.String message)Constructs a JSONException with an explanatory message.JSONException(java.lang.Throwable t)Constructs a JSONException with an explanatory message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ThrowablegetCause()Returns the cause of the exception.
-
-
-
Constructor Detail
-
JSONException
public JSONException(java.lang.String message)
Constructs a JSONException with an explanatory message.- Parameters:
message- details about the reason for the exception
-
JSONException
public JSONException(java.lang.Throwable t)
Constructs a JSONException with an explanatory message.- Parameters:
t- the throwable that was thrown
-
-
Method Detail
-
getCause
public java.lang.Throwable getCause()
Returns the cause of the exception.- Overrides:
getCausein classjava.lang.Throwable- Returns:
- the cause
-
-