Package com.github.dakusui.json
Class JsonInvalidPathException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.github.dakusui.json.JsonException
com.github.dakusui.json.JsonInvalidPathException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
JsonIndexOutOfBoundsException,JsonPathNotFoundException
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionJsonInvalidPathException(com.google.gson.JsonElement base, Object[] path) JsonInvalidPathException(com.google.gson.JsonElement base, Object[] path, int index) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
JsonInvalidPathException
-
JsonInvalidPathException
-
-
Method Details
-
formatMessage
-
getProblemCausingNode
public com.google.gson.JsonElement getProblemCausingNode()- Overrides:
getProblemCausingNodein classJsonException
-
getPath
-
getIndex
public int getIndex() -
getMessage
- Overrides:
getMessagein classThrowable
-