com.nevelex.app.args
Class InvalidArgumentException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.nevelex.app.args.ArgumentException
                    |
                    +--com.nevelex.app.args.InvalidArgumentException
All Implemented Interfaces:
java.io.Serializable

public class InvalidArgumentException
extends ArgumentException

Exception thrown when the command-line argument was supplied with all of its required parameters.

Version:
1.0 03/22/2001: Initial Version.,
1.1 04/29/2003: Updated documenation.
Author:
Michel Dalal
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
InvalidArgumentException(java.lang.String message, int offset)
          Constructs a InvalidArgumentException with the supplied detailed message.
 
Methods inherited from class com.nevelex.app.args.ArgumentException
getOffset
 
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

InvalidArgumentException

public InvalidArgumentException(java.lang.String message,
                                int offset)
Constructs a InvalidArgumentException with the supplied detailed message.

Parameters:
message - the detailed message.
offset - the offset in to the argument array where this error was generated.