Uses of Class
picocli.CommandLine.ExecutionException
-
Packages that use CommandLine.ExecutionException Package Description picocli Provides classes and interfaces for the main picocli command line parsing andautocompletion
functionality. -
-
Uses of CommandLine.ExecutionException in picocli
Methods in picocli with parameters of type CommandLine.ExecutionException Modifier and Type Method Description R
CommandLine.DefaultExceptionHandler. handleExecutionException(CommandLine.ExecutionException ex, CommandLine.ParseResult parseResult)
Deprecated.This implementation always simply rethrows the specified exception.R
CommandLine.IExceptionHandler2. handleExecutionException(CommandLine.ExecutionException ex, CommandLine.ParseResult parseResult)
Deprecated.Handles aExecutionException
that occurred while executing theRunnable
orCallable
command and optionally returns a list of results.protected R
CommandLine.AbstractHandler. throwOrExit(CommandLine.ExecutionException ex)
Deprecated.Convenience method for subclasses that throws the specified ExecutionException if no exit code was set, or otherwise, if an exit code was set, prints the stacktrace of the specified exception to the diagnostic error stream and callsSystem.exit
with the configured exit code to terminate the currently running Java virtual machine.Methods in picocli that throw CommandLine.ExecutionException Modifier and Type Method Description int
CommandLine.AbstractParseResultHandler. execute(CommandLine.ParseResult parseResult)
Deprecated.int
CommandLine.IExecutionStrategy. execute(CommandLine.ParseResult parseResult)
"Executes" the user input and returns an exit code.int
CommandLine.RunAll. execute(CommandLine.ParseResult parseResult)
"Executes" the user input and returns an exit code.int
CommandLine.RunFirst. execute(CommandLine.ParseResult parseResult)
"Executes" the user input and returns an exit code.int
CommandLine.RunLast. execute(CommandLine.ParseResult parseResult)
"Executes" the user input and returns an exit code.protected abstract R
CommandLine.AbstractParseResultHandler. handle(CommandLine.ParseResult parseResult)
Deprecated.Processes the specifiedParseResult
and returns the result as a list of objects.protected List<Object>
CommandLine.RunAll. handle(CommandLine.ParseResult parseResult)
Executes the top-level command and all subcommands asRunnable
orCallable
.protected List<Object>
CommandLine.RunFirst. handle(CommandLine.ParseResult parseResult)
Executes the top-levelRunnable
orCallable
subcommand.protected List<Object>
CommandLine.RunLast. handle(CommandLine.ParseResult parseResult)
Executes the most specificRunnable
orCallable
subcommand.R
CommandLine.AbstractParseResultHandler. handleParseResult(CommandLine.ParseResult parseResult)
Deprecated.Prints help if requested, and otherwise callsCommandLine.AbstractParseResultHandler.handle(CommandLine.ParseResult)
.List<Object>
CommandLine.IParseResultHandler. handleParseResult(List<CommandLine> parsedCommands, PrintStream out, CommandLine.Help.Ansi ansi)
Deprecated.Processes a List ofCommandLine
objects resulting from successfully parsing the command line arguments and optionally returns a list of results.R
CommandLine.IParseResultHandler2. handleParseResult(CommandLine.ParseResult parseResult)
Deprecated.Processes theParseResult
object resulting from successfully parsing the command line arguments and returns a return value.
-