Top Description Fields Constructors Methods
io.vertx.core.cli

public Class MissingOptionException

extends CLIException
Class Inheritance
Imports
java.util.Collection, java.util.stream.Collectors

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

Field Summary

Modifier and TypeField and Description
private final Collection<Option>

Constructor Summary

AccessConstructor and Description
public
MissingOptionException(Collection<Option>
the list of expected options (missing options)
expected
)

Creates a new instance of MissingOptionException.

Method Summary

Modifier and TypeMethod and Description
public Collection<Option>

Returns:

the missing (mandatory) options.
getExpected
()

Field Detail

expectedback to summary
private final Collection<Option> expected

Constructor Detail

MissingOptionExceptionback to summary
public MissingOptionException(Collection<Option> expected)

Creates a new instance of MissingOptionException.

Parameters
expected:Collection<Option>

the list of expected options (missing options)

Method Detail

getExpectedback to summary
public Collection<Option> getExpected()
Returns:Collection<Option>

the missing (mandatory) options.