Class MissingArgumentException

    • Constructor Detail

      • MissingArgumentException

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

        public MissingArgumentException​(Option option)
        Construct a new MissingArgumentException with the specified detail message.
        Parameters:
        option - the option requiring an argument
        Since:
        1.2
    • Method Detail

      • getOption

        public Option getOption()
        Return the option requiring an argument that wasn't provided on the command line.
        Returns:
        the related option
        Since:
        1.2