Class InvalidJSONPointerException

    • Constructor Detail

      • InvalidJSONPointerException

        public InvalidJSONPointerException​(String msg,
                                           String text,
                                           int begin,
                                           int end)
        Instantiate the exception with a JSON Pointer text that has an error.
        Parameters:
        msg - error message to show
        text - the JSON Pointer text that has a syntax error
        begin - beginning location of the character range where the problem is
        end - end location of the character range where the problem is
    • Method Detail

      • text

        public String text()
        Returns the JSON Pointer text that has an error.
        Returns:
        the JSON Pointer text that has an error.
      • begin

        public int begin()
        Beginning location of the character range where the problem is.
        Returns:
        beginning location of the character range where the problem is.
      • end

        public int end()
        End location of the character range where the problem is.
        Returns:
        end location of the character range where the problem is.