jargs.gnu
Class CmdLineParser.IllegalOptionValueException
- CmdLineParser
public static class CmdLineParser.IllegalOptionValueException
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).
IllegalOptionValueException
public IllegalOptionValueException(CmdLineParser.Option opt,
String value)
getOption
public CmdLineParser.Option getOption()
- the name of the option whose value was illegal (e.g. "-u")
getValue
public String getValue()
Copyright © 2001-2003 Steve Purcell. Copyright © 2002 Vidar Holen. Copyright © 2002 Michal Ceresna. Copyright © 2005 Ewan Mellor. Released under the terms of the BSD licence.