Class ParseError
java.lang.Object
com.itextpdf.styledxmlparser.jsoup.parser.ParseError
A Parse Error records an error in the input HTML that occurs in either the tokenisation or the tree building phase.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionParseError(int pos, String errorMsg) ParseError(int pos, String errorFormat, Object... args) -
Method Summary
Modifier and TypeMethodDescriptionRetrieve the error message.intRetrieves the offset of the error.toString()
-
Field Details
-
pos
private int pos -
errorMsg
-
-
Constructor Details
-
ParseError
ParseError(int pos, String errorMsg) -
ParseError
-
-
Method Details
-
getErrorMessage
-
getPosition
public int getPosition()Retrieves the offset of the error.- Returns:
- error offset within input
-
toString
-