Class InvalidChoiceException

  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:

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.

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


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

msg - The message to report to the user