Package ej.json
Class JSONException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- ej.json.JSONException
-
- All Implemented Interfaces:
Serializable
public class JSONException extends Exception
The JSONException is thrown by the JSON.org classes then things are amiss.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JSONException(String message)Constructs a JSONException with an explanatory message.JSONException(Throwable t)Constructs a JSONException with the specified cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, toString
-
-
-
-
Constructor Detail
-
JSONException
public JSONException(String message)
Constructs a JSONException with an explanatory message.- Parameters:
message- Detail about the reason for the exception.
-
JSONException
public JSONException(Throwable t)
Constructs a JSONException with the specified cause.- Parameters:
t- The cause.
-
-