# Uses of Class
org.apache.commons.cli.ParseException

- ## Uses of ParseException in org.apache.commons.cli

  Subclasses of ParseException in org.apache.commons.cli
  Modifier and Type
  Class
  Description
  `class`
  `AlreadySelectedException`
  Thrown when more than one option in an option group has been provided.
  `class`
  `AmbiguousOptionException`
  Exception thrown when an option can't be identified from a partial name.
  `class`
  `MissingArgumentException`
  Thrown when an option requiring an argument is not provided with an argument.
  `class`
  `MissingOptionException`
  Thrown when a required option has not been provided.
  `class`
  `UnrecognizedOptionException`
  Thrown during parsing signaling an unrecognized option.
  Methods in org.apache.commons.cli that return ParseException
  Modifier and Type
  Method
  Description
  `static ParseException`
  ParseException.`wrap(Throwable e)`
  Converts any exception except `UnsupportedOperationException` to a `ParseException`.
  Methods in org.apache.commons.cli that throw ParseException
  Modifier and Type
  Method
  Description
  `static Class<?>`
  TypeHandler.`createClass(String className)`
  Returns the class whose name is `className`.
  `static Number`
  TypeHandler.`createNumber(String string)`
  Deprecated.
  `static Object`
  TypeHandler.`createObject(String className)`
  Deprecated.
  use `TypeHandler.createValue(String, Class)`
  `static URL`
  TypeHandler.`createURL(String string)`
  Creates the URL represented by `string`.
  `static <T> T`
  TypeHandler.`createValue(String string, Class<T> clazz)`
  Creates the @code Object} of type `clazz` with the value of `string`.
  `static Object`
  TypeHandler.`createValue(String string, Object obj)`
  Deprecated.
  use `TypeHandler.createValue(String, Class)`
  `protected abstract String[]`
  Parser.`flatten(Options opts, String[] arguments, boolean stopAtNonOption)`
  Deprecated.
  Subclasses must implement this method to reduce the `arguments` that have been passed to the parse method.
  `protected String[]`
  PosixParser.`flatten(Options options, String[] arguments, boolean stopAtNonOption)`
  Deprecated.
  An implementation of `Parser`'s abstract `flatten` method.
  `<T> T`
  CommandLine.`getParsedOptionValue(char opt)`
  Gets a version of this `Option` converted to a particular type.
  `<T> T`
  CommandLine.`getParsedOptionValue(char opt, Supplier<T> defaultValue)`
  Gets a version of this `Option` converted to a particular type.
  `<T> T`
  CommandLine.`getParsedOptionValue(char opt, T defaultValue)`
  Gets a version of this `Option` converted to a particular type.
  `<T> T`
  CommandLine.`getParsedOptionValue(String opt)`
  Gets a version of this `Option` converted to a particular type.
  `<T> T`
  CommandLine.`getParsedOptionValue(String opt, Supplier<T> defaultValue)`
  Gets a version of this `Option` converted to a particular type.
  `<T> T`
  CommandLine.`getParsedOptionValue(String opt, T defaultValue)`
  Gets a version of this `Option` converted to a particular type.
  `<T> T`
  CommandLine.`getParsedOptionValue(Option option)`
  Gets a version of this `Option` converted to a particular type.
  `<T> T`
  CommandLine.`getParsedOptionValue(Option option, Supplier<T> defaultValue)`
  Gets a version of this `Option` converted to a particular type.
  `<T> T`
  CommandLine.`getParsedOptionValue(Option option, T defaultValue)`
  Gets a version of this `Option` converted to a particular type.
  `protected void`
  DefaultParser.`handleConcatenatedOptions(String token)`
  Breaks `token` into its constituent parts using the following algorithm.
  `static FileInputStream`
  TypeHandler.`openFile(String string)`
  Deprecated.
  use `TypeHandler.createValue(String, Class)`
  `CommandLine`
  CommandLineParser.`parse(Options options, String[] arguments)`
  Parses the arguments according to the specified options.
  `CommandLine`
  CommandLineParser.`parse(Options options, String[] arguments, boolean stopAtNonOption)`
  Parses the arguments according to the specified options.
  `CommandLine`
  DefaultParser.`parse(Options options, String[] arguments)`
  `CommandLine`
  DefaultParser.`parse(Options options, String[] arguments, boolean stopAtNonOption)`
  `CommandLine`
  DefaultParser.`parse(Options options, String[] arguments, Properties properties)`
  Parses the arguments according to the specified options and properties.
  `CommandLine`
  DefaultParser.`parse(Options options, String[] arguments, Properties properties, boolean stopAtNonOption)`
  Parses the arguments according to the specified options and properties.
  `CommandLine`
  Parser.`parse(Options options, String[] arguments)`
  Deprecated.
  Parses the specified `arguments` based on the specified `Options`.
  `CommandLine`
  Parser.`parse(Options options, String[] arguments, boolean stopAtNonOption)`
  Deprecated.
  Parses the specified `arguments` based on the specified `Options`.
  `CommandLine`
  Parser.`parse(Options options, String[] arguments, Properties properties)`
  Deprecated.
  Parse the arguments according to the specified options and properties.
  `CommandLine`
  Parser.`parse(Options options, String[] arguments, Properties properties, boolean stopAtNonOption)`
  Deprecated.
  Parse the arguments according to the specified options and properties.
  `void`
  Parser.`processArgs(Option opt, ListIterator<String> iter)`
  Deprecated.
  Process the argument values for the specified Option `opt` using the values retrieved from the specified iterator `iter`.
  `protected void`
  Parser.`processOption(String arg, ListIterator<String> iter)`
  Deprecated.
  Process the Option specified by `arg` using the values retrieved from the specified iterator `iter`.
  `protected void`
  Parser.`processProperties(Properties properties)`
  Deprecated.
  Sets the values of Options using the values in `properties`.