vertx / io.vertx.core.cli / CLIException

CLIException

open class CLIException : RuntimeException

High level exception thrown when an issue in the command line processing occurs.

Author
Clement Escoffier

Constructors

<init>

CLIException(message: String)
CLIException(message: String, cause: Exception)

Creates a new instance of CLIException.

Inheritors

AmbiguousOptionException

open class AmbiguousOptionException : CLIException

Exception thrown when the command line is ambiguous meaning it cannot determine exactly which option has to be set.

InvalidValueException

open class InvalidValueException : CLIException

Exception thrown when an option or an argument receives an invalid value.

MissingOptionException

open class MissingOptionException : CLIException

Exception thrown when an option was expected and was not found on the command line.

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.