Class JsonParseException

All Implemented Interfaces:
Serializable

public class JsonParseException extends NoSQLException
An exception indicating a problem parsing JSON. This exception encapsulates both illegal JSON as well as IOException errors during parsing. If available the location in the JSON document is provided.
See Also:
  • Method Details

    • getColumn

      public int getColumn()
      Returns the column number of the error within a line if available, otherwise a negative number is returned.
      Returns:
      the column, or -1
    • getLine

      public int getLine()
      Returns the line number of the error within a line if available, otherwise a negative number is returned.
      Returns:
      the line, or -1
    • toString

      public String toString()
      Overrides:
      toString in class Throwable