public static class CommandLine.OverwrittenOptionException extends CommandLine.ParameterException
commandLine
Constructor and Description |
---|
OverwrittenOptionException(CommandLine commandLine,
CommandLine.Model.ArgSpec overwritten,
String msg) |
Modifier and Type | Method and Description |
---|---|
CommandLine.Model.ArgSpec |
getOverwritten()
Returns the
CommandLine.Model.ArgSpec for the option which was being overwritten. |
getArgSpec, getCommandLine, getValue
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public OverwrittenOptionException(CommandLine commandLine, CommandLine.Model.ArgSpec overwritten, String msg)
public CommandLine.Model.ArgSpec getOverwritten()
CommandLine.Model.ArgSpec
for the option which was being overwritten.