Class KeyDifferentTypeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.clumd.projects.javajson.exceptions.JsonException
com.clumd.projects.javajson.exceptions.json.JsonKeyException
com.clumd.projects.javajson.exceptions.json.KeyDifferentTypeException
- All Implemented Interfaces:
Serializable
public class KeyDifferentTypeException extends JsonKeyException
This exception is used when there was a value found at a given key,
but the datatype of the value found was not suitable for the calling method.
-
Constructor Summary
Constructors Constructor Description KeyDifferentTypeException(String reasonForInvalidity) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString