Class MissingArgumentException

All Implemented Interfaces:
Serializable

Thrown when an option requiring an argument is not provided with an argument.
See Also:
  • Constructor Details

    • MissingArgumentException

      Constructs a new MissingArgumentException with the specified detail message.
      Parameters:
      option - the option requiring an argument
      Since:
      1.2
    • MissingArgumentException

      Constructs a new MissingArgumentException with the specified detail message.
      Parameters:
      message - the detail message
  • Method Details

    • getOption

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