Package com.codedjson.exceptions
Class IllegalJsonType
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.codedjson.exceptions.IllegalJsonType
-
- All Implemented Interfaces:
Serializable
public class IllegalJsonType extends Exception
Puts a check on JSON type context after deserialization of CJSON.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IllegalJsonType()
Default constructor.
Called with message:Object is neither JsonObject nor a JsonArray
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-