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 andautocompletionfunctionality. -
-
Uses of CommandLine.ExecutionException in picocli
Methods in picocli with parameters of type CommandLine.ExecutionException Modifier and Type Method Description RCommandLine.DefaultExceptionHandler. handleExecutionException(CommandLine.ExecutionException ex, CommandLine.ParseResult parseResult)Deprecated.This implementation always simply rethrows the specified exception.RCommandLine.IExceptionHandler2. handleExecutionException(CommandLine.ExecutionException ex, CommandLine.ParseResult parseResult)Deprecated.Handles aExecutionExceptionthat occurred while executing theRunnableorCallablecommand and optionally returns a list of results.protected RCommandLine.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.exitwith the configured exit code to terminate the currently running Java virtual machine.Methods in picocli that throw CommandLine.ExecutionException Modifier and Type Method Description intCommandLine.AbstractParseResultHandler. execute(CommandLine.ParseResult parseResult)Deprecated.intCommandLine.IExecutionStrategy. execute(CommandLine.ParseResult parseResult)"Executes" the user input and returns an exit code.intCommandLine.RunAll. execute(CommandLine.ParseResult parseResult)"Executes" the user input and returns an exit code.intCommandLine.RunFirst. execute(CommandLine.ParseResult parseResult)"Executes" the user input and returns an exit code.intCommandLine.RunLast. execute(CommandLine.ParseResult parseResult)"Executes" the user input and returns an exit code.protected abstract RCommandLine.AbstractParseResultHandler. handle(CommandLine.ParseResult parseResult)Deprecated.Processes the specifiedParseResultand 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 asRunnableorCallable.protected List<Object>CommandLine.RunFirst. handle(CommandLine.ParseResult parseResult)Executes the top-levelRunnableorCallablesubcommand.protected List<Object>CommandLine.RunLast. handle(CommandLine.ParseResult parseResult)Executes the most specificRunnableorCallablesubcommand.RCommandLine.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 ofCommandLineobjects resulting from successfully parsing the command line arguments and optionally returns a list of results.RCommandLine.IParseResultHandler2. handleParseResult(CommandLine.ParseResult parseResult)Deprecated.Processes theParseResultobject resulting from successfully parsing the command line arguments and returns a return value.
-