info.informatica.html
Class HTMLParsingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
info.informatica.doc.DocumentException
info.informatica.html.HTMLDocumentException
info.informatica.html.HTMLParsingException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- TagParsingException
public class HTMLParsingException
- extends HTMLDocumentException
- Version:
- 1.01
- Author:
- amengual at informatica dot info
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
HTMLParsingException
public HTMLParsingException()
HTMLParsingException
public HTMLParsingException(String message)
HTMLParsingException
public HTMLParsingException(String message,
Throwable t)
HTMLParsingException
public HTMLParsingException(Throwable t)
setErrorPosition
public void setErrorPosition(int pos)
- Sets the position where the error was found.
- Parameters:
pos - the position where the error was found.
getErrorPosition
public int getErrorPosition()
- Gets the position where the error was found.
- Returns:
- the position where the error was found, or -1 if unknown.