io.vertx.core.cli

## Class CLIException

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

- All Implemented Interfaces:
    Serializable
  Direct Known Subclasses:
    AmbiguousOptionException, InvalidValueException, MissingOptionException, MissingValueException

      public class CLIException
      extends RuntimeException

  High level exception thrown when an issue in the command line processing occurs.
  Author:
    Clement Escoffier
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CLIException(String message)` Creates a new instance of `CLIException`.
    `CLIException(String message, Exception cause)` Creates a new instance of `CLIException`.

  - ### Method Summary

    - ### 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

    - #### CLIException

          public CLIException(String message)

      Creates a new instance of `CLIException`.
      Parameters:
        `message` - the message

    - #### CLIException

          public CLIException(String message,
                              Exception cause)

      Creates a new instance of `CLIException`.
      Parameters:
        `message` - the message
        `cause` - the cause

Copyright © 2022 Eclipse. All rights reserved.