Class MissingOptionException

  • All Implemented Interfaces:
    Serializable

    public class MissingOptionException
    extends CLIException
    Exception thrown when an option was expected and was not found on the command line.
    Author:
    Clement Escoffier
    See Also:
    Serialized Form
    • Constructor Detail

      • MissingOptionException

        public MissingOptionException​(Collection<Option> expected)
        Creates a new instance of MissingOptionException.
        Parameters:
        expected - the list of expected options (missing options)
    • Method Detail

      • getExpected

        public Collection<Option> getExpected()
        Returns:
        the missing (mandatory) options.