public class AmbiguousOptionException extends UnrecognizedOptionException
| Constructor and Description |
|---|
AmbiguousOptionException(String option,
Collection<String> matchingOptions)
Constructs a new AmbiguousOptionException.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
getMatchingOptions()
Gets the options matching the partial name.
|
getOptionaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AmbiguousOptionException(String option, Collection<String> matchingOptions)
option - the partial option namematchingOptions - the options matching the namepublic Collection<String> getMatchingOptions()
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.