public class MissingValueException extends CLIException
Constructor and Description |
---|
MissingValueException(Argument argument)
Creates a new instance of
MissingValueException when a mandatory argument is not set in the user command
line. |
MissingValueException(Option option)
Creates a new instance of
MissingValueException when an option requiring a value does not receive a value. |
Modifier and Type | Method and Description |
---|---|
Argument |
getArgument() |
Option |
getOption() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MissingValueException(Option option)
MissingValueException
when an option requiring a value does not receive a value.option
- the optionpublic MissingValueException(Argument argument)
MissingValueException
when a mandatory argument is not set in the user command
line.argument
- the argumentCopyright © 2024 Eclipse. All rights reserved.