public class AmbiguousOptionException extends UnrecognizedOptionException
| Constructor | Description |
|---|---|
AmbiguousOptionException(java.lang.String option,
java.util.Collection<java.lang.String> matchingOptions) |
Constructs a new AmbiguousOptionException.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Collection<java.lang.String> |
getMatchingOptions() |
Returns the options matching the partial name.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringgetOptionpublic AmbiguousOptionException(java.lang.String option, java.util.Collection<java.lang.String> matchingOptions)
option - the partial option namematchingOptions - the options matching the namepublic java.util.Collection<java.lang.String> getMatchingOptions()