net.christopherschultz.evaluator
Class EvaluationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.christopherschultz.evaluator.EvaluationException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BinaryOperator.IncompatibleArgumentsException, UnexpectedArgumentException

public class EvaluationException
extends Exception

An Exception class signifying that there was an error during expression evaluation.

Version:
$Revision: 1.3 $ $Date: 2008-06-20 22:58:48 $
Author:
Chris Schultz
See Also:
Expression.evaluate(net.christopherschultz.evaluator.EvaluationContext), Serialized Form

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

EvaluationException

public EvaluationException()
Creates a new EvaluationException.


EvaluationException

public EvaluationException(String message)
Creates a new EvaluationException with the specified message.

Parameters:
message - A descriptive message about why the exception is being thrown.

EvaluationException

public EvaluationException(String message,
                           Throwable cause)
Creates a new EvaluationException with the specified 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.