Class CommandLine.ExecutionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.logging.log4j.core.tools.picocli.CommandLine.PicocliException
org.apache.logging.log4j.core.tools.picocli.CommandLine.ExecutionException
- All Implemented Interfaces:
Serializable
- Enclosing class:
- CommandLine
Exception indicating a problem while invoking a command or subcommand.
- Since:
- 2.0
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionExecutionException
(CommandLine commandLine, String msg) ExecutionException
(CommandLine commandLine, String msg, Exception ex) -
Method Summary
Modifier and TypeMethodDescriptionReturns theCommandLine
object for the (sub)command that could not be invoked.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
commandLine
-
-
Constructor Details
-
ExecutionException
-
ExecutionException
-
-
Method Details
-
getCommandLine
Returns theCommandLine
object for the (sub)command that could not be invoked.- Returns:
- the
CommandLine
object for the (sub)command where invocation failed.
-