Package | Description |
---|---|
org.apache.logging.log4j.core.tools.picocli |
Modifier and Type | Class and Description |
---|---|
static class |
CommandLine.MaxValuesforFieldExceededException
Exception indicating that more values were specified for an option or parameter than its
arity allows. |
static class |
CommandLine.MissingParameterException
Exception indicating that a required parameter was not specified.
|
static class |
CommandLine.MissingTypeConverterException
Exception indicating that an annotated field had a type for which no
CommandLine.ITypeConverter was
registered. |
static class |
CommandLine.OverwrittenOptionException
Exception indicating that an option for a single-value option field has been specified multiple times on the command line.
|
static class |
CommandLine.UnmatchedArgumentException
Exception indicating that a command line argument could not be mapped to any of the fields annotated with
CommandLine.Option or CommandLine.Parameters . |
Modifier and Type | Method and Description |
---|---|
private static CommandLine.ParameterException |
CommandLine.ParameterException.create(CommandLine cmd,
java.lang.Exception ex,
java.lang.String arg,
int i,
java.lang.String[] args) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Object> |
CommandLine.IExceptionHandler.handleException(CommandLine.ParameterException ex,
java.io.PrintStream out,
CommandLine.Help.Ansi ansi,
java.lang.String... args)
Handles a
ParameterException that occurred while parsing the command
line arguments and optionally returns a list of results. |
java.util.List<java.lang.Object> |
CommandLine.DefaultExceptionHandler.handleException(CommandLine.ParameterException ex,
java.io.PrintStream out,
CommandLine.Help.Ansi ansi,
java.lang.String... args) |