info.informatica.html
Class HTMLParsingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by info.informatica.doc.DocumentException
              extended by info.informatica.html.HTMLDocumentException
                  extended by 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

Constructor Summary
HTMLParsingException()
           
HTMLParsingException(String message)
           
HTMLParsingException(String message, Throwable t)
           
HTMLParsingException(Throwable t)
           
 
Method Summary
 int getErrorPosition()
          Gets the position where the error was found.
 void setErrorPosition(int pos)
          Sets the position where the error was found.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HTMLParsingException

public HTMLParsingException()

HTMLParsingException

public HTMLParsingException(String message)

HTMLParsingException

public HTMLParsingException(String message,
                            Throwable t)

HTMLParsingException

public HTMLParsingException(Throwable t)
Method Detail

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.