dsto.dfc.commandline
Class IllegalOptionValueException
java.lang.Object
java.lang.Throwable
java.lang.Exception
dsto.dfc.commandline.IllegalOptionValueException
- All Implemented Interfaces:
- Serializable
public class IllegalOptionValueException
- extends Exception
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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
IllegalOptionValueException
public IllegalOptionValueException(Option opt,
String value)
getOption
public Option getOption()
getValue
public String getValue()
Copyright © 2008 Commonwealth of Australia