public static class CmdLineParser.IllegalOptionValueException extends CmdLineParser.OptionException
getMessage() returns an error string
suitable for reporting the error to the user (in English).
No generic class can ever extend java.lang.Throwable, so we have
to return Option<?> instead of
Option<T>.| Modifier and Type | Field and Description |
|---|---|
private CmdLineParser.Option<?> |
option |
private static long |
serialVersionUID |
private String |
value |
| Constructor and Description |
|---|
IllegalOptionValueException(CmdLineParser.Option<T> opt,
String value) |
| Modifier and Type | Method and Description |
|---|---|
CmdLineParser.Option<?> |
getOption() |
String |
getValue() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprivate static final long serialVersionUID
private final CmdLineParser.Option<?> option
private final String value
public IllegalOptionValueException(CmdLineParser.Option<T> opt, String value)
public CmdLineParser.Option<?> getOption()
public String getValue()
Copyright © 2019 David R. Smith. All rights reserved.