laser.util.argument
Class UndefinedChoiceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by laser.util.argument.ArgumentException
              extended by laser.util.argument.ArgumentFormatException
                  extended by laser.util.argument.UndefinedChoiceException
All Implemented Interfaces:
java.io.Serializable

public class UndefinedChoiceException
extends ArgumentFormatException

The UndefinedChoiceException signals that the user incorrectly used a ChoiceOption. They attempted to set its value to a value that is not in the ChoiceOption's possible values.

Author:
Heather M. Conboy (laser-software@cs.umass.edu)
See Also:
Serialized Form

Constructor Summary
UndefinedChoiceException(java.lang.String msg)
          Constructs a new UndefinedChoiceException with the given 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

UndefinedChoiceException

public UndefinedChoiceException(java.lang.String msg)
Constructs a new UndefinedChoiceException with the given message.

Parameters:
msg - The message to report to the user