public static class CmdLineParser.IllegalOptionValueException extends CmdLineParser.OptionException
getMessage() returns an error string suitable for reporting the error to the user (in English).| Constructor and Description |
|---|
IllegalOptionValueException(CmdLineParser.Option opt,
String value)
Instantiates a new illegal option value exception.
|
| Modifier and Type | Method and Description |
|---|---|
CmdLineParser.Option |
getOption()
Gets the option.
|
String |
getValue()
Gets the value.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic IllegalOptionValueException(CmdLineParser.Option opt, String value)
opt - the optvalue - the valuepublic CmdLineParser.Option getOption()
public String getValue()
Copyright © 2009–2016 Jeremy Landis. All rights reserved.