home *** CD-ROM | disk | FTP | other *** search
- package jargs.gnu;
-
- public class CmdLineParser$IllegalOptionValueException extends CmdLineParser.OptionException {
- private CmdLineParser.Option option;
- private String value;
-
- public CmdLineParser$IllegalOptionValueException(CmdLineParser.Option opt, String value) {
- super("Illegal value '" + value + "' for option " + (opt.shortForm() != null ? "-" + opt.shortForm() + "/" : "") + "--" + opt.longForm());
- this.option = opt;
- this.value = value;
- }
-
- public CmdLineParser.Option getOption() {
- return this.option;
- }
-
- public String getValue() {
- return this.value;
- }
- }
-