Class AmbiguousOptionException

    • 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()
      Gets the options matching the partial name.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AmbiguousOptionException

        public AmbiguousOptionException​(java.lang.String option,
                                        java.util.Collection<java.lang.String> matchingOptions)
        Constructs a new AmbiguousOptionException.
        Parameters:
        option - the partial option name
        matchingOptions - the options matching the name
    • Method Detail

      • getMatchingOptions

        public java.util.Collection<java.lang.String> getMatchingOptions()
        Gets the options matching the partial name.
        Returns:
        a collection of options matching the name