Serializable
public static class CommandLine.ExecutionException extends CommandLine.PicocliException
CommandLine
object where the cause exception occurred,
so that client code can tailor their handling for the specific command (print the command's usage help message, for example).Constructor | Description |
---|---|
ExecutionException(CommandLine commandLine,
String msg) |
|
ExecutionException(CommandLine commandLine,
String msg,
Throwable t) |
Modifier and Type | Method | Description |
---|---|---|
CommandLine |
getCommandLine() |
Returns the
CommandLine object for the (sub)command that could not be invoked. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ExecutionException(CommandLine commandLine, String msg)
public ExecutionException(CommandLine commandLine, String msg, Throwable t)
public CommandLine getCommandLine()
CommandLine
object for the (sub)command that could not be invoked.CommandLine
object for the (sub)command where invocation failed.Copyright © 2017–2019. All rights reserved.