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, toString
public IllegalOptionValueException(CmdLineParser.Option opt, String value)
opt
- the optvalue
- the valuepublic CmdLineParser.Option getOption()
public String getValue()
Copyright © 2009–2020 Jeremy Landis. All rights reserved.