Class AmbiguousOptionException

    • Constructor Detail

      • AmbiguousOptionException

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

      • getMatchingOptions

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