com.google.streamhtmlparser
Class ParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
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. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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 exceptionmsg
- the error message
Copyright © 2010-2012 Google. All Rights Reserved.