Class AmbiguousOptionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.aspectran.shell.command.option.OptionParserException
-
- com.aspectran.shell.command.option.UnrecognizedOptionException
-
- com.aspectran.shell.command.option.AmbiguousOptionException
-
- All Implemented Interfaces:
java.io.Serializable
public class AmbiguousOptionException extends UnrecognizedOptionException
Exception thrown when an option can't be identified from a partial name.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AmbiguousOptionException(java.lang.String option, java.util.Collection<java.lang.String> matchingOptions)
Constructs a new AmbiguousOptionException.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<java.lang.String>
getMatchingOptions()
Returns the options matching the partial name.-
Methods inherited from class com.aspectran.shell.command.option.UnrecognizedOptionException
getOption
-
-