Class JsonException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.clumd.projects.javajson.exceptions.JsonException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BuildException,JsonKeyException,JsonParseException,SchemaException
public class JsonException extends RuntimeException
The top level exception.
Used to encapsulate all possible custom exceptions which can be thrown by the Java-JSON framework.
-
Constructor Summary
Constructors Constructor Description JsonException(String reasonForInvalidity)JsonException(String reasonForInvalidity, Throwable subException) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString