Uses of Class
picocli.CommandLine.PicocliException
-
Packages that use CommandLine.PicocliException Package Description picocli Provides classes and interfaces for the main picocli command line parsing andautocompletionfunctionality. -
-
Uses of CommandLine.PicocliException in picocli
Subclasses of CommandLine.PicocliException in picocli Modifier and Type Class Description static classCommandLine.DuplicateNameExceptionException indicating that multiple named elements have incorrectly used the same name.static classCommandLine.DuplicateOptionAnnotationsExceptionException indicating that multiple fields have been annotated with the same Option name.static classCommandLine.ExecutionExceptionException indicating a problem while invoking a command or subcommand.static classCommandLine.InitializationExceptionException indicating a problem duringCommandLineinitialization.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.ParameterExceptionException indicating something went wrong while parsing command line options.static classCommandLine.ParameterIndexGapExceptionException indicating that there was a gap in the indices of the fields annotated withCommandLine.Parameters.static classCommandLine.TypeConversionExceptionException thrown byCommandLine.ITypeConverterimplementations to indicate a String could not be converted.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.PicocliException Modifier and Type Method Description voidCommandLine.ParseResult.Builder. addError(CommandLine.PicocliException ex)Methods in picocli that throw CommandLine.PicocliException Modifier and Type Method Description <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.useCommandLine.Model.ArgSpec.setValue(Object)instead.
-