## 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 and `autocompletion` functionality.
  picocli.groovy | Provides classes and annotations to give Groovy scripts convenient access to picocli functionality.

- - ### Uses of CommandLine.ParameterException in picocli

    Subclasses of CommandLine.ParameterException in picocli
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `CommandLine.MaxValuesExceededException` 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`.

    Methods in picocli with parameters of type CommandLine.ParameterException
    Modifier and Type | Method and Description
    --- | ---
    `List<Object>` | CommandLine.IExceptionHandler.`handleException(CommandLine.ParameterException ex, PrintStream out, CommandLine.Help.Ansi ansi, String... args)` Deprecated. Handles a `ParameterException` that occurred while parsing the command line arguments and optionally returns a list of results.
    `List<Object>` | CommandLine.DefaultExceptionHandler.`handleException(CommandLine.ParameterException ex, PrintStream out, CommandLine.Help.Ansi ansi, String... args)`
    `R` | CommandLine.IExceptionHandler2.`handleParseException(CommandLine.ParameterException ex, String[] args)` Handles a `ParameterException` that occurred while parsing the command line arguments and optionally returns a list of results.
    `R` | CommandLine.DefaultExceptionHandler.`handleParseException(CommandLine.ParameterException ex, String[] args)` 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 by `CommandLine.AbstractHandler.err()`.
    `static boolean` | CommandLine.UnmatchedArgumentException.`printSuggestions(CommandLine.ParameterException ex, PrintStream out)` Returns `true` and prints suggested solutions to the specified stream if such solutions exist, otherwise returns `false`.

  - ### Uses of CommandLine.ParameterException in picocli.groovy

    Methods in picocli.groovy with parameters of type CommandLine.ParameterException
    Modifier and Type | Method and Description
    --- | ---
    `Object` | PicocliBaseScript.`handleParameterException(CommandLine.ParameterException pe, String[] args)` If a ParameterException occurs during `PicocliBaseScript.parseScriptArguments(CommandLine, String[])` then this method gets called to report the problem.

Copyright © 2020. All rights reserved.