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:
Serializable
An exception indicating that a unknown flag has been specified.
- Author:
- Marty Lamb
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new UnknownFlagException referencing the specified parameter.UnknownFlagException
(String flag) Creates a new UnknownFlagException referencing the specified parameter. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnknownFlagException
Creates a new UnknownFlagException referencing the specified parameter.- Parameters:
flag
- the unknown flag that was encountered.
-
UnknownFlagException
Creates a new UnknownFlagException referencing the specified parameter.- Parameters:
flag
- the unknown flag that was encountered.
-
-
Method Details
-
getFlag
Returns the unknown flag that was encountered.- Returns:
- the unknown flag that was encountered.
-