Uses of Class
picocli.CommandLine.ParameterException
-
Packages that use CommandLine.ParameterException Package Description picocli Provides classes and interfaces for the main picocli command line parsing andautocompletionfunctionality.picocli.groovy Provides classes and interfaces for integrating picocli with Groovy. -
-
Uses of CommandLine.ParameterException in picocli
Subclasses of CommandLine.ParameterException in picocli Modifier and Type Class Description static classCommandLine.MaxValuesExceededExceptionException indicating that more values were specified for an option or parameter than itsarityallows.static classCommandLine.MissingParameterExceptionException indicating that a required parameter was not specified.static classCommandLine.MissingTypeConverterExceptionException indicating that an annotated field had a type for which noCommandLine.ITypeConverterwas registered.static classCommandLine.MutuallyExclusiveArgsExceptionException indicating that the user input included multiple arguments from a mutually exclusive group.static classCommandLine.OverwrittenOptionExceptionException indicating that an option for a single-value option field has been specified multiple times on the command line.static classCommandLine.UnmatchedArgumentExceptionException indicating that a command line argument could not be mapped to any of the fields annotated withCommandLine.OptionorCommandLine.Parameters.Methods in picocli with parameters of type CommandLine.ParameterException Modifier and Type Method Description List<Object>CommandLine.DefaultExceptionHandler. handleException(CommandLine.ParameterException ex, PrintStream out, CommandLine.Help.Ansi ansi, String... args)Deprecated.List<Object>CommandLine.IExceptionHandler. handleException(CommandLine.ParameterException ex, PrintStream out, CommandLine.Help.Ansi ansi, String... args)Deprecated.Handles aParameterExceptionthat occurred while parsing the command line arguments and optionally returns a list of results.RCommandLine.DefaultExceptionHandler. handleParseException(CommandLine.ParameterException ex, String[] args)Deprecated.Prints the message of the specified exception, followed by the usage message for the command or subcommand whose input was invalid, to the stream returned byCommandLine.AbstractHandler.err().RCommandLine.IExceptionHandler2. handleParseException(CommandLine.ParameterException ex, String[] args)Deprecated.Handles aParameterExceptionthat occurred while parsing the command line arguments and optionally returns a list of results.intCommandLine.IParameterExceptionHandler. handleParseException(CommandLine.ParameterException ex, String[] args)Handles aParameterExceptionthat occurred while parsing the command line arguments and returns an exit code suitable for returning fromCommandLine.execute(String...).static booleanCommandLine.UnmatchedArgumentException. printSuggestions(CommandLine.ParameterException ex, PrintStream out)Returnstrueand prints suggested solutions to the specified stream if such solutions exist, otherwise returnsfalse.static booleanCommandLine.UnmatchedArgumentException. printSuggestions(CommandLine.ParameterException ex, PrintWriter writer)Returnstrueand prints suggested solutions to the specified writer if such solutions exist, otherwise returnsfalse.Methods in picocli that throw CommandLine.ParameterException Modifier and Type Method Description intCommandLine.IExecutionStrategy. execute(CommandLine.ParseResult parseResult)"Executes" the user input and returns an exit code. -
Uses of CommandLine.ParameterException in picocli.groovy
Methods in picocli.groovy with parameters of type CommandLine.ParameterException Modifier and Type Method Description ObjectPicocliBaseScript. handleParameterException(CommandLine.ParameterException pe, String[] args)Deprecated.If a ParameterException occurs duringPicocliBaseScript.parseScriptArguments(CommandLine, String[])then this method gets called to report the problem.
-