net.christopherschultz.evaluator
Class UnexpectedArgumentException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.christopherschultz.evaluator.EvaluationException
              extended by net.christopherschultz.evaluator.UnexpectedArgumentException
All Implemented Interfaces:
Serializable

public class UnexpectedArgumentException
extends EvaluationException

An exception type denoting an unexpected argument.

Version:
$Revision: 1.3 $ $Date: 2008-06-20 22:58:48 $
Author:
Chris Schultz
See Also:
Serialized Form

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

UnexpectedArgumentException

public UnexpectedArgumentException()
Creates a new UnexpectedArgumentException.


UnexpectedArgumentException

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

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

UnexpectedArgumentException

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