Package io.github.qishr.cascara.common.util
Class OverwrittenOptionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.qishr.cascara.common.util.CommandLine.PicocliException
io.github.qishr.cascara.common.util.CommandLine.ParameterException
io.github.qishr.cascara.common.util.CommandLine.OverwrittenOptionException
Enclosing Class:
io.github.qishr.cascara.common.util.CommandLine
public static class OverwrittenOptionException
extends ParameterException
Exception indicating that an option for a single-value option field has been specified multiple times on the command line.
Constructor Summary
| Constructor | Description |
|---|---|
| OverwrittenOptionException(CommandLine commandLine, ArgSpec overwritten, String msg) |
Method Summary
| Modifier and Type | Method | Description |
|---|---|---|
| public ArgSpec | getOverwritten() | Returns the ArgSpec for the option which was being overwritten. |
Methods inherited from ParameterException
getArgSpec, getValue, getCommandLine
Method Details
getOverwritten
public ArgSpec getOverwritten()
Returns the ArgSpec for the option which was being overwritten.
Since:
3.8