Package org.jsoup.parser

## Class ParseError

- java.lang.Object
- - org.jsoup.parser.ParseError

    public class ParseError
    extends java.lang.Object

A Parse Error records an error in the input HTML that occurs in either the tokenisation or the tree building phase.

### Method Summary

All Methods Instance Methods Concrete Methods
`java.lang.String` `getCursorPos()` Get the formatted line:column cursor position where the error occured.
`java.lang.String` `getErrorMessage()` Retrieve the error message.
`int` `getPosition()` Retrieves the offset of the error.
`java.lang.String` `toString()`

### Methods inherited from class java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

### Method Detail

#### getErrorMessage

    public java.lang.String getErrorMessage()

Retrieve the error message.

Returns:
  the error message.

#### getPosition

    public int getPosition()

Retrieves the offset of the error.

Returns:
  error offset within input

#### getCursorPos

    public java.lang.String getCursorPos()

Get the formatted line:column cursor position where the error occured.

Returns:
  line:number cursor position

#### toString

    public java.lang.String toString()

Overrides:
  `toString` in class `java.lang.Object`