Class ParseException

    • Method Detail

      • getLocation

        public Location getLocation()
        Returns the location at which the error occurred.
        Returns:
        the error location
      • getOffset

        @Deprecated
        public int getOffset()
        Deprecated.
        Use getLocation() instead
        Returns the absolute character index at which the error occurred. The offset of the first character of a document is 0.
        Returns:
        the character offset at which the error occurred, will be >= 0
      • getLine

        @Deprecated
        public int getLine()
        Deprecated.
        Use getLocation() instead
        Returns the line number in which the error occurred. The number of the first line is 1.
        Returns:
        the line in which the error occurred, will be >= 1
      • getColumn

        @Deprecated
        public int getColumn()
        Deprecated.
        Use getLocation() instead
        Returns the column number at which the error occurred, i.e. the number of the character in its line. The number of the first character of a line is 1.
        Returns:
        the column in which the error occurred, will be >= 1