Uses of Class
com.github.sttk.cliargs.exceptions.InvalidOption
Packages that use InvalidOption
Package
Description
Provides the classes to parse and print comand line arguments.
Provides the exception classes for parsing comand line arguments.
-
Uses of InvalidOption in com.github.sttk.cliargs
Methods in com.github.sttk.cliargs that throw InvalidOptionModifier and TypeMethodDescriptionvoid
Cmd.parse()
Parses command line arguments without configurations.void
Parses command line arguments and set their option values to the fields of the option store which is passed as the argument of this method.Cmd.parseUntilSubCmd()
Parses command line arguments without configurations but stops parsing when encountering first command argument.Cmd.parseUntilSubCmdFor
(Object optStore) Parses command line arguments until the first command argument and set their option values to the option store which is passed as an argument.Cmd.parseUntilSubCmdWith
(OptCfg[] optCfgs) Parses command line arguments with option configurations but stops parsing when encountering first command argument.void
Parses command line arguments with option configurations. -
Uses of InvalidOption in com.github.sttk.cliargs.exceptions
Subclasses of InvalidOption in com.github.sttk.cliargs.exceptionsModifier and TypeClassDescriptionclass
Is the exception which indicates that an option configuration contradicts that the default arguments is not empty though it does not take option arguments.class
Is the exception which indicates that an option configuration contradicts that the option can take multiple arguments though it does not take option arguments.class
Is the exception which indicates that the option argument is invalidated by the validator in the option configuration.class
Is the exception which indicates that an invalid character is found in an option.class
Is the exception which indicates that the option is supposed to take one argument in the configuration, but multiple arguments are specified.class
Is the exception which indicates that there are duplicated opton names among the option configurations.class
Is the exception which indicates that the option requires arguments in the configuration, but no argument is specified.class
Is the exception which indicates that the option is not supposed to take an argument in configuration, but an argument is specified.class
Is the exception which indicates that there are duplicated store keys among multiple configurations.class
Is the exception which indicates that there is no configuration about the input option.