Uses of Class
picocli.CommandLine.PicocliException
Packages that use CommandLine.PicocliException
Package
Description
Provides classes and interfaces for the main picocli command line parsing and
autocompletion
functionality.-
Uses of CommandLine.PicocliException in picocli
Subclasses of CommandLine.PicocliException in picocliModifier and TypeClassDescriptionstatic class
Exception indicating that multiple named elements have incorrectly used the same name.static class
Exception indicating that multiple fields have been annotated with the same Option name.static class
Exception indicating a problem while invoking a command or subcommand.static class
Exception indicating a problem duringCommandLine
initialization.static class
Exception indicating that more values were specified for an option or parameter than itsarity
allows.static class
Exception indicating that a required parameter was not specified.static class
Exception indicating that an annotated field had a type for which noCommandLine.ITypeConverter
was registered.static class
Exception indicating that the user input included multiple arguments from a mutually exclusive group.static class
Exception indicating that an option for a single-value option field has been specified multiple times on the command line.static class
Exception indicating something went wrong while parsing command line options.static class
Exception indicating that there was a gap in the indices of the fields annotated withCommandLine.Parameters
.static class
Exception thrown byCommandLine.ITypeConverter
implementations to indicate a String could not be converted.static class
Exception indicating that a command line argument could not be mapped to any of the fields annotated withCommandLine.Option
orCommandLine.Parameters
.Methods in picocli with parameters of type CommandLine.PicocliExceptionModifier and TypeMethodDescriptionvoid
CommandLine.ParseResult.Builder.addError
(CommandLine.PicocliException ex) Methods in picocli that throw CommandLine.PicocliExceptionModifier and TypeMethodDescription<T> T
CommandLine.Model.ArgSpec.getValue()
Returns the current value of this argument.<T> T
CommandLine.Model.ArgSpec.setValue
(T newValue) Sets the value of this argument to the specified value and returns the previous value.<T> T
CommandLine.Model.ArgSpec.setValue
(T newValue, CommandLine commandLine) Deprecated.
CommandLine.Model.ArgSpec.setValue(Object)
instead.