io.vertx.core.cli

## Class MissingOptionException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - io.vertx.core.cli.CLIException
        - - io.vertx.core.cli.MissingOptionException

- All Implemented Interfaces:
    Serializable

      public class MissingOptionException
      extends CLIException

  Exception thrown when an option was expected and was not found on the command line.
  Author:
    Clement Escoffier
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MissingOptionException(Collection<Option> expected)` Creates a new instance of `MissingOptionException`.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Collection<Option>` | `getExpected()`

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### MissingOptionException

          public MissingOptionException(Collection<Option> expected)

      Creates a new instance of `MissingOptionException`.
      Parameters:
        `expected` - the list of expected options (missing options)

  - ### Method Detail

    - #### getExpected

          public Collection<Option> getExpected()

      Returns:
        the missing (mandatory) options.

Copyright © 2021 Eclipse. All rights reserved.