Class UndefinedChoiceException

  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:

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.

Heather M. Conboy (
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


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

msg - The message to report to the user