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 invalid input: '<'[email protected]>
See Also:
  • Constructor Details

    • MissingOptionException

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

    • getExpected

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