laser.util.argument
Class InvalidChoiceException

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

public class InvalidChoiceException
extends ArgumentException

The InvalidChoiceException signals that the user incorrectly specified or used a ChoiceOption. It should be the superclass of all exceptions thrown by the choice option classes' methods.

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

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

InvalidChoiceException

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

Parameters:
msg - The message to report to the user