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 classException indicating that multiple named elements have incorrectly used the same name.static classException indicating that multiple fields have been annotated with the same Option name.static classException indicating a problem while invoking a command or subcommand.static classException indicating a problem duringCommandLineinitialization.static classException indicating that more values were specified for an option or parameter than itsarityallows.static classException indicating that a required parameter was not specified.static classException indicating that an annotated field had a type for which noCommandLine.ITypeConverterwas registered.static classException indicating that the user input included multiple arguments from a mutually exclusive group.static classException indicating that an option for a single-value option field has been specified multiple times on the command line.static classException indicating something went wrong while parsing command line options.static classException indicating that there was a gap in the indices of the fields annotated withCommandLine.Parameters.static classException thrown byCommandLine.ITypeConverterimplementations to indicate a String could not be converted.static classException 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.PicocliExceptionModifier and TypeMethodDescriptionvoidCommandLine.ParseResult.Builder.addError(CommandLine.PicocliException ex) Methods in picocli that throw CommandLine.PicocliExceptionModifier and TypeMethodDescription<T> TCommandLine.Model.ArgSpec.getValue()Returns the current value of this argument.<T> TCommandLine.Model.ArgSpec.setValue(T newValue) Sets the value of this argument to the specified value and returns the previous value.<T> TCommandLine.Model.ArgSpec.setValue(T newValue, CommandLine commandLine) Deprecated.
CommandLine.Model.ArgSpec.setValue(Object)instead.