cdx.scorebot.scoring.logic
Class IllegalOperandException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by cdx.scorebot.scoring.logic.LogicException
              extended by cdx.scorebot.scoring.logic.IllegalOperandException
All Implemented Interfaces:
java.io.Serializable

public class IllegalOperandException
extends LogicException

thrown if the logic tries to apply an operator to operands for which it isn't defined

Author:
David Underhill
See Also:
Serialized Form

Constructor Summary
IllegalOperandException()
          creates an exception with the default message
IllegalOperandException(java.lang.String s)
          creates an Exception with the specified message
 
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

IllegalOperandException

public IllegalOperandException()
creates an exception with the default message


IllegalOperandException

public IllegalOperandException(java.lang.String s)
creates an Exception with the specified message

Parameters:
s - Instantiates the error with passed error message.