Exception | Description |
---|---|
AmbiguousCommandException |
Thrown by a
RegistryCommandDispatcher
in tolerant mode when more than one command matches a partial command
name. |
ArgumentsNotExpectedException |
Thrown by an
OptionParser during
parsing if the receiver does not implement AcceptsArguments. |
BadCommandLineException |
Thrown by an
OptionParser during parsing
when encountering unexpected characters in an option. |
DuplicateOptionException |
Thrown by an
OptionParser during
scanning when it encounters multiple options with the same name. |
InvalidOptionValue |
Thrown by an
OptionParser during
parsing when it cannot assign the supplied value to the option. |
MandatoryValueMissing |
Thrown by an
OptionParser during parsing
if the user tried to give only an option where an option value is
required. |
NoSuchCommandException |
Thrown by
RegistryCommandDispatcher
when it fails to find a command instance matching the supplied
command name. |
NoSuchOptionException |
Thrown by
OptionParser during parsing
if it cannot find an option declaration that matches an option supplied
on the command line. |
OptionParseException |
Base class for all exceptions that occur during parsing.
|
UnknownCommandException | |
UnsupportedTypeException |
Thrown by an
OptionParser during scanning
when an option has a type that is not known to the parser. |
Copyright © 2013. All Rights Reserved.