java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
at.syntaxerror.json5.JSONException
- All Implemented Interfaces:
Serializable
An exception used by the JSON5 for Java Library if something went wrong
- Version:
- 1.0.0
- Author:
- SyntaxError404
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new JSONExceptionJSONException(String message) Constructs a new JSONException with a detail messageJSONException(String message, Throwable cause) Constructs a new JSONException with a detail message and a causing exceptionJSONException(Throwable cause) Constructs a new JSONException with a causing exception -
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()Constructs a new JSONException -
JSONException
Constructs a new JSONException with a detail message- Parameters:
message- the detail message
-
JSONException
Constructs a new JSONException with a causing exception- Parameters:
cause- the causing exception
-
JSONException
Constructs a new JSONException with a detail message and a causing exception- Parameters:
message- the detail messagecause- the causing exception
-