Class InvalidJsonException

All Implemented Interfaces:
Serializable

public class InvalidJsonException extends JsonPathException
See Also:
  • Field Details

    • json

      private final String json
      Problematic JSON if available.
  • Constructor Details

    • InvalidJsonException

      public InvalidJsonException()
    • InvalidJsonException

      public InvalidJsonException(String message)
    • InvalidJsonException

      public InvalidJsonException(String message, Throwable cause)
    • InvalidJsonException

      public InvalidJsonException(Throwable cause)
    • InvalidJsonException

      public InvalidJsonException(Throwable cause, String json)
      Rethrow the exception with the problematic JSON captured.
  • Method Details

    • getJson

      public String getJson()
      Returns:
      the problematic JSON if available.