vertx / io.vertx.core.cli / MissingValueException

MissingValueException

open class MissingValueException : CLIException

Exception thrown when an option requiring a value does not receive the value, or when a mandatory argument does not receive a value.

Author
Clement Escoffier

Constructors

<init>

MissingValueException(option: Option)

Creates a new instance of MissingValueException when an option requiring a value does not receive a value.

MissingValueException(argument: Argument)

Creates a new instance of MissingValueException when a mandatory argument is not set in the user command line.

Functions

getArgument

open fun getArgument(): Argument

getOption

open fun getOption(): Option