com.nevelex.app.args
Class UnknownArgumentException

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

public class UnknownArgumentException
extends ArgumentException

Exception thrown when the command-line argument is not recognized.

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
UnknownArgumentException(java.lang.String message, int offset)
          Constructs a UnknownArgumentException 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

UnknownArgumentException

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

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