net.christopherschultz.evaluator.parser
Class ParseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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

Constructor Summary
ParseException(String message)
          Creates a new ParseException with the specified detail message.
ParseException(String message, Throwable cause)
          Creates a new ParseException with the specified detail message and cause.
 
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(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.