net.christopherschultz.evaluator.parser
Class ParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
net.christopherschultz.evaluator.parser.ParseException
- All Implemented Interfaces:
- Serializable
public class ParseException
- extends Exception
An Exception class signifying that there was an error during expression
parsing.
- Version:
- $Revision: 1.2 $ $Date: 2008-06-20 22:58:48 $
- Author:
- Chris Schultz
- See Also:
ExpressionParser.parse(java.lang.String)
,
Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ParseException
public ParseException(String message)
- Creates a new ParseException with the specified detail message.
- Parameters:
message
- A descriptive message about why the exception is
being thrown.
ParseException
public ParseException(String message,
Throwable cause)
- Creates a new ParseException with the specified detail message
and cause.
- Parameters:
message
- A descriptive message about why the exception is
being thrown.cause
- The exception that caused this one to be thrown.