IllegalMultipleDeclarationException (JSAP: the Java Simple Argument Parser)
Keywords: com.martiansoftware.jsap.IllegalMultipleDeclarationException class

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.martiansoftware.jsap
Class IllegalMultipleDeclarationException

    java.lang.Object
      java.lang.Throwable
          java.lang.Exception
              com.martiansoftware.jsap.JSAPException
                  com.martiansoftware.jsap.IllegalMultipleDeclarationException

All Implemented Interfaces:
  Serializable

    public class IllegalMultipleDeclarationException

extends JSAPException

An exception indicating that a parameter has illegally been declared multiple times.

Author:
  Marty Lamb
See Also:
  `FlaggedOption.setAllowMultipleDeclarations(boolean)`, `Flagged`, `Option`, Serialized Form

Constructor Summary
`IllegalMultipleDeclarationException(String paramID)` Creates a new IllegalMultipleDeclarationException referencing the specified parameter.

Method Summary
`String` | `getID()` Returns the unique ID of the parameter that was illegally declared more than once.

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

### IllegalMultipleDeclarationException

    public IllegalMultipleDeclarationException(String paramID)

  Creates a new IllegalMultipleDeclarationException referencing the specified parameter.

  Parameters:
    `paramID` - the unique ID of the parameter that was illegally declared more than once.

Method Detail

### getID

    public String getID()

  Returns the unique ID of the parameter that was illegally declared more than once.

  Returns:
    the unique ID of the parameter that was illegally declared more than once.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002-2005, Martian Software, Inc.. All Rights Reserved.
For the latest version and documentation, please visit http://www.martiansoftware.com/jsap