com.google.streamhtmlparser
Class ParseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.google.streamhtmlparser.ParseException
All Implemented Interfaces:
Serializable

public class ParseException
extends Exception

Checked exception thrown on an unrecoverable error during parsing.

See Also:
Parser.parse(String), Serialized Form

Constructor Summary
ParseException()
          Constructs an ParseException with no detail message.
ParseException(Parser parser, String msg)
          Constructs an ParseException with a detail message obtained from the supplied message and the parser's line and column numbers.
 
Method Summary
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParseException

public ParseException()
Constructs an ParseException with no detail message.


ParseException

public ParseException(Parser parser,
                      String msg)
Constructs an ParseException with a detail message obtained from the supplied message and the parser's line and column numbers.

Parameters:
parser - the Parser that triggered the exception
msg - the error message


Copyright © 2010-2012 Google. All Rights Reserved.