Class AmbiguousOptionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
tripleo.vendor.org_apache_commons_cli.ParseException
tripleo.vendor.org_apache_commons_cli.UnrecognizedOptionException
tripleo.vendor.org_apache_commons_cli.AmbiguousOptionException
- All Implemented Interfaces:
Serializable
Exception thrown when an option can't be identified from a partial name.
- Since:
- 1.3
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAmbiguousOptionException(String option, @NotNull Collection<String> matchingOptions) Constructs a new AmbiguousOptionException. -
Method Summary
Modifier and TypeMethodDescriptionGets the options matching the partial name.Methods inherited from class tripleo.vendor.org_apache_commons_cli.UnrecognizedOptionException
getOptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AmbiguousOptionException
public AmbiguousOptionException(String option, @NotNull @NotNull Collection<String> matchingOptions) Constructs a new AmbiguousOptionException.- Parameters:
option- the partial option namematchingOptions- the options matching the name
-
-
Method Details
-
getMatchingOptions
Gets the options matching the partial name.- Returns:
- a collection of options matching the name
-