Class CmdLineParser.IllegalOptionValueException

  • All Implemented Interfaces:
    Serializable
    Enclosing class:
    CmdLineParser

    public static class CmdLineParser.IllegalOptionValueException
    extends CmdLineParser.OptionException
    Thrown when an illegal or missing value is given by the user for an option that takes a value. getMessage() returns an error string suitable for reporting the error to the user (in English).
    See Also:
    Serialized Form
    • Method Detail

      • getOption

        public CmdLineParser.Option getOption()
        Returns:
        the name of the option whose value was illegal (e.g. "-u")
      • getValue

        public String getValue()
        Returns:
        the illegal value