Class OptionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
joptsimple.OptionException
- All Implemented Interfaces:
Serializable
Thrown when a problem occurs during option parsing.
- Author:
- Paul Holser
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedOptionException(Collection<? extends OptionSpec<?>> options) protectedOptionException(Collection<? extends OptionSpec<?>> options, Throwable cause) protectedOptionException(List<String> options) -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
OptionException
-
OptionException
-
OptionException
-
-
Method Details
-
options
-
singleOptionString
-
singleOptionString
-
multipleOptionString
-
getMessage
- Overrides:
getMessagein classThrowable
-