Class InvalidOptionException
- All Implemented Interfaces:
Serializable
Thrown when an illegal option has been given by the user on the command-line.
- Since:
- 0.3
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidOptionException
(String message, String option) Constructs an exception with the specified detail message.InvalidOptionException
(String message, Throwable cause, String option) Constructs an exception with the specified detail message and cause. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidOptionException
-
InvalidOptionException
-
-
Method Details
-
getOption
Returns the name of the invalid option.- Returns:
- the name of the invalid option.
-