Package com.martiansoftware.jsap
Class UnknownFlagException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.martiansoftware.jsap.JSAPException
-
- com.martiansoftware.jsap.UnknownFlagException
-
- All Implemented Interfaces:
java.io.Serializable
public class UnknownFlagException extends JSAPException
An exception indicating that a unknown flag has been specified.- Author:
- Marty Lamb
- See Also:
Flagged
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnknownFlagException(java.lang.Character flag)
Creates a new UnknownFlagException referencing the specified parameter.UnknownFlagException(java.lang.String flag)
Creates a new UnknownFlagException referencing the specified parameter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getFlag()
Returns the unknown flag that was encountered.
-
-
-
Constructor Detail
-
UnknownFlagException
public UnknownFlagException(java.lang.String flag)
Creates a new UnknownFlagException referencing the specified parameter.- Parameters:
flag
- the unknown flag that was encountered.
-
UnknownFlagException
public UnknownFlagException(java.lang.Character flag)
Creates a new UnknownFlagException referencing the specified parameter.- Parameters:
flag
- the unknown flag that was encountered.
-
-