argparser
Class ArgParseException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended byargparser.ArgParseException
All Implemented Interfaces:
java.io.Serializable

public class ArgParseException
extends java.io.IOException

Exception class used by ArgParser when command line arguments contain an error.

Author:
John E. Lloyd, Fall 2004
See Also:
ArgParser, Serialized Form

Constructor Summary
ArgParseException(java.lang.String msg)
          Creates a new ArgParseException with the given message.
ArgParseException(java.lang.String arg, java.lang.String msg)
          Creates a new ArgParseException from the given argument and message.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArgParseException

public ArgParseException(java.lang.String msg)
Creates a new ArgParseException with the given message.

Parameters:
msg - Exception message

ArgParseException

public ArgParseException(java.lang.String arg,
                         java.lang.String msg)
Creates a new ArgParseException from the given argument and message.

Parameters:
arg - Offending argument
msg - Error message