Class JSONException
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.github.mxz_schwarz.parser.JSONException
- All Implemented Interfaces:
Serializable
A checked
Exception that can be conveniently chained into an
unchecked JSONRuntimeException via unchecked()
and back into a checked JSONException with
JSONRuntimeException.checked(). Instances of JSONException
should be thrown by public or protected executables. Instances
of JSONRuntimeException should be thrown by executables with
visibility of package private or lower and then caught in public
or protected executables in order to chain them in a JSONException.- See Also:
-
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
unchecked
- Returns:
- A new
JSONParseExceptionwhose cause isthis
-