java.lang.Object
java.lang.Throwable
java.lang.Exception
org.bluezoo.json.JSONException
- All Implemented Interfaces:
Serializable
An exception thrown to indicate an anomaly during JSON parsing.
- Author:
- Chris Burdess
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor for a JSON exception with no message.JSONException(String message) Constructor for a JSON exception with the specified message.JSONException(String message, Throwable cause) Constructor for a JSON exception with the specified message and underlying cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
JSONException
public JSONException()Constructor for a JSON exception with no message. -
JSONException
Constructor for a JSON exception with the specified message.- Parameters:
message- the exception message
-
JSONException
Constructor for a JSON exception with the specified message and underlying cause.- Parameters:
message- the exception messagecause- the underlying cause of this message
-