Package 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:
java.io.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
Constructors Constructor Description IllegalMultipleDeclarationException(java.lang.String paramID)
Creates a new IllegalMultipleDeclarationException referencing the specified parameter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getID()
Returns the unique ID of the parameter that was illegally declared more than once.
-
-
-
Constructor Detail
-
IllegalMultipleDeclarationException
public IllegalMultipleDeclarationException(java.lang.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.
-
-