Package 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 Description CLIException(String message)Creates a new instance ofCLIException.CLIException(String message, Exception cause)Creates a new instance ofCLIException.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
CLIException
public CLIException(String message)
Creates a new instance ofCLIException.- Parameters:
message- the message
-
CLIException
public CLIException(String message, Exception cause)
Creates a new instance ofCLIException.- Parameters:
message- the messagecause- the cause
-
-