Package com.codedjson.exceptions
Class IllegalValueType
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.codedjson.exceptions.IllegalValueType
-
- All Implemented Interfaces:
Serializable
public class IllegalValueType extends Exception
If a new data type is encountered during parsing a value from JSON using JPath, this exception is thrown. Log an issue here if you want to use custom types as parser(TnC apply).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IllegalValueType()
Default constructor.
Called with message:Undefined value type detected
IllegalValueType(String message)
Java data type errors are caught with custom error message.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
IllegalValueType
public IllegalValueType(String message)
Java data type errors are caught with custom error message.- Parameters:
message
- Error message inString
format
-
IllegalValueType
public IllegalValueType()
Default constructor.
Called with message:Undefined value type detected
-
-