Package com.github.hypfvieh.cli.parser
Class CommandLineException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.github.hypfvieh.cli.parser.CommandLineException
- All Implemented Interfaces:
Serializable
A run-time exception to report a command-line parsing error or failure.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCommandLineException(String _message) Constructs a new exception with the specified detail message.CommandLineException(String _message, Throwable _cause) Constructs a new exception with the specified detail message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CommandLineException
Constructs a new exception with the specified detail message.- Parameters:
_message- the detail message
-
CommandLineException
Constructs a new exception with the specified detail message and cause.- Parameters:
_message- the detail message (which is saved for later retrieval by theThrowable.getMessage()method)._cause- the cause (which is saved for later retrieval by theThrowable.getCause()method).
-