Class MissingOptionException

    • Constructor Detail

      • MissingOptionException

        public MissingOptionException​(String message)
        Construct a new MissingSelectedException with the specified detail message.
        Parameters:
        message - the detail message
      • MissingOptionException

        public MissingOptionException​(List missingOptions)
        Constructs a new MissingSelectedException with the specified list of missing options.
        Parameters:
        missingOptions - the list of missing options and groups
        Since:
        1.2
    • Method Detail

      • getMissingOptions

        public List getMissingOptions()
        Returns the list of options or option groups missing in the command line parsed.
        Returns:
        the missing options, consisting of String instances for simple options, and OptionGroup instances for required option groups.
        Since:
        1.2