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()
Returns the options matching the partial name.
|
getOption
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AmbiguousOptionException(String option, Collection<String> matchingOptions)
option
- the partial option namematchingOptions
- the options matching the namepublic Collection<String> getMatchingOptions()
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.