Package com.jayway.jsonpath
Class InvalidJsonException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.jayway.jsonpath.JsonPathException
com.jayway.jsonpath.InvalidJsonException
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInvalidJsonException
(String message) InvalidJsonException
(String message, Throwable cause) InvalidJsonException
(Throwable cause) InvalidJsonException
(Throwable cause, String json) Rethrow the exception with the problematic JSON captured. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
json
Problematic JSON if available.
-
-
Constructor Details
-
InvalidJsonException
public InvalidJsonException() -
InvalidJsonException
-
InvalidJsonException
-
InvalidJsonException
-
InvalidJsonException
Rethrow the exception with the problematic JSON captured.
-
-
Method Details
-
getJson
- Returns:
- the problematic JSON if available.
-