Package io.kjson
Class JSONValueException
-
- All Implemented Interfaces:
-
java.io.Serializable
public final class JSONValueException extends JSONException
Exception class to represent "invalid value" errors; thrown when a node fails a validity check.
-
-
Constructor Summary
Constructors Constructor Description JSONValueException(String nodeName, Object expectation, JSONValue value, Object key)
-
Method Summary
Modifier and Type Method Description StringgetMessage()final StringgetNodeName()final ObjectgetExpectation()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()
-
getExpectation
final Object getExpectation()
-
-
-
-