- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- at.syntaxerror.json5.JSONException
-
- All Implemented Interfaces:
Serializable
public class JSONException extends RuntimeException
An exception used by the JSON5 for Java Library if something went wrong- Version:
- 1.0.0
- Author:
- SyntaxError404
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JSONException()Constructs 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 Detail
-
JSONException
public JSONException()
Constructs a new JSONException
-
JSONException
public JSONException(String message)
Constructs a new JSONException with a detail message- Parameters:
message- the detail message
-
JSONException
public JSONException(Throwable cause)
Constructs a new JSONException with a causing exception- Parameters:
cause- the causing exception
-
-