Package com.codedjson.exceptions
Class UndeserializedCJSON
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.codedjson.exceptions.UndeserializedCJSON
-
- All Implemented Interfaces:
Serializable
public class UndeserializedCJSON extends Exception
Exception is thrown when any function requiresdeserialize()call before.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UndeserializedCJSON()Default constructor.
Default message:Undeserialized CJSON content detected.UndeserializedCJSON(String message)Custom error message constructor
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UndeserializedCJSON
public UndeserializedCJSON(String message)
Custom error message constructor- Parameters:
message- Error message inStringformat.
-
UndeserializedCJSON
public UndeserializedCJSON()
Default constructor.
Default message:Undeserialized CJSON content detected. Use deserialize() before this operation
-
-