-
- All Implemented Interfaces:
-
java.io.Serializable
public final class JSONIncorrectTypeException extends JSONException
Exception class to represent "incorrect type" errors; thrown when a specific type is requested as a return value and the actual value was not of that type.
-
-
Constructor Summary
Constructors Constructor Description JSONIncorrectTypeException(String nodeName, String target, JSONValue value, Object key)
-
Method Summary
Modifier and Type Method Description StringgetMessage()final StringgetNodeName()final StringgetTarget()final JSONValuegetValue()final ObjectgetKey()-
Methods inherited from class kotlin.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getMessage
String getMessage()
-
getNodeName
final String getNodeName()
-
-
-
-