Uses of Class
org.apache.commons.cli.ParseException
-
Uses of ParseException in org.apache.commons.cli
Subclasses of ParseException in org.apache.commons.cliModifier and TypeClassDescriptionclassThrown when more than one option in an option group has been provided.classException thrown when an option can't be identified from a partial name.classThrown when an option requiring an argument is not provided with an argument.classThrown when a required option has not been provided.classThrown during parsing signaling an unrecognized option.Methods in org.apache.commons.cli that return ParseExceptionModifier and TypeMethodDescriptionstatic ParseExceptionConverts any exception exceptUnsupportedOperationExceptionto aParseException.Methods in org.apache.commons.cli that throw ParseExceptionModifier and TypeMethodDescriptionstatic Class<?>TypeHandler.createClass(String className) Returns the class whose name isclassName.static NumberTypeHandler.createNumber(String string) Deprecated.static ObjectTypeHandler.createObject(String className) Deprecated.static URLCreates the URL represented bystring.static <T> TTypeHandler.createValue(String string, Class<T> clazz) Creates the @code Object} of typeclazzwith the value ofstring.static ObjectTypeHandler.createValue(String string, Object obj) Deprecated.protected abstract String[]Deprecated.Subclasses must implement this method to reduce theargumentsthat have been passed to the parse method.protected String[]<T> TCommandLine.getParsedOptionValue(char opt) Gets a version of thisOptionconverted to a particular type.<T> TCommandLine.getParsedOptionValue(char opt, Supplier<T> defaultValue) Gets a version of thisOptionconverted to a particular type.<T> TCommandLine.getParsedOptionValue(char opt, T defaultValue) Gets a version of thisOptionconverted to a particular type.<T> TCommandLine.getParsedOptionValue(String opt) Gets a version of thisOptionconverted to a particular type.<T> TCommandLine.getParsedOptionValue(String opt, Supplier<T> defaultValue) Gets a version of thisOptionconverted to a particular type.<T> TCommandLine.getParsedOptionValue(String opt, T defaultValue) Gets a version of thisOptionconverted to a particular type.<T> TCommandLine.getParsedOptionValue(Option option) Gets a version of thisOptionconverted to a particular type.<T> TCommandLine.getParsedOptionValue(OptionGroup optionGroup) Gets a version of thisOptionGroupconverted to a particular type.<T> TCommandLine.getParsedOptionValue(OptionGroup optionGroup, Supplier<T> defaultValue) Gets a version of thisOptionGroupconverted to a particular type.<T> TCommandLine.getParsedOptionValue(OptionGroup optionGroup, T defaultValue) Gets a version of thisOptionGroupconverted to a particular type.<T> TCommandLine.getParsedOptionValue(Option option, Supplier<T> defaultValue) Gets a version of thisOptionconverted to a particular type.<T> TCommandLine.getParsedOptionValue(Option option, T defaultValue) Gets a version of thisOptionconverted to a particular type.protected voidDefaultParser.handleConcatenatedOptions(String token) Breakstokeninto its constituent parts using the following algorithm.static FileInputStreamDeprecated.Parses the arguments according to the specified options.Parses the arguments according to the specified options.DefaultParser.parse(Options options, String[] arguments, Properties properties) Parses the arguments according to the specified options and properties.DefaultParser.parse(Options options, String[] arguments, Properties properties, boolean stopAtNonOption) Parses the arguments according to the specified options and properties.Deprecated.Parses the specifiedargumentsbased on the specifiedOptions.Deprecated.Parses the specifiedargumentsbased on the specifiedOptions.Parser.parse(Options options, String[] arguments, Properties properties) Deprecated.Parse the arguments according to the specified options and properties.Parser.parse(Options options, String[] arguments, Properties properties, boolean stopAtNonOption) Deprecated.Parse the arguments according to the specified options and properties.voidParser.processArgs(Option opt, ListIterator<String> iter) Deprecated.Process the argument values for the specified Optionoptusing the values retrieved from the specified iteratoriter.protected voidParser.processOption(String arg, ListIterator<String> iter) Deprecated.Process the Option specified byargusing the values retrieved from the specified iteratoriter.protected voidParser.processProperties(Properties properties) Deprecated.Sets the values of Options using the values inproperties.
TypeHandler.createValue(String, Class)