Class InvalidJsonValueException

    • Constructor Detail

      • InvalidJsonValueException

        public InvalidJsonValueException​(String jsonString,
                                         Exception cause)
        Constructs a new exception for a given invalid JSON string.
        Parameters:
        jsonString - The invalid string representation of a JSON value that caused the error.
        cause - Underlying exception that caused the error, usually some kind of parser exception.
    • Method Detail

      • getJsonString

        public String getJsonString()
        Returns:
        The invalid string representation of a JSON value that caused the error.