laser.util.argument
Class ArgumentFormatException

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
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
UndefinedChoiceException

public class ArgumentFormatException
extends ArgumentException

The ArgumentFormatException signals that the user specifed an argument incorrectly.

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

Constructor Summary
ArgumentFormatException(java.lang.String msg)
          Constructs a new ArgumentFormatException with the given message.
ArgumentFormatException(java.lang.String msg, java.lang.Throwable cause)
          Constructs a new ArgumentFormatException with the given message and cause.
ArgumentFormatException(java.lang.Throwable cause)
          Constructs a new ArgumentFormatException with the given cause.
 
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

ArgumentFormatException

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

Parameters:
msg - The message to report to the user

ArgumentFormatException

public ArgumentFormatException(java.lang.String msg,
                               java.lang.Throwable cause)
Constructs a new ArgumentFormatException with the given message and cause.

Parameters:
msg - The message to report to the user
cause - The cause

ArgumentFormatException

public ArgumentFormatException(java.lang.Throwable cause)
Constructs a new ArgumentFormatException with the given cause.

Parameters:
cause - The cause