com.openexchange.admin.console
Class CLIIllegalOptionValueException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.openexchange.admin.console.CLIOptionException
com.openexchange.admin.console.CLIIllegalOptionValueException
- All Implemented Interfaces:
- Serializable
public class CLIIllegalOptionValueException
- extends CLIOptionException
CLIIllegalOptionValueException
- Indicates an illegal or missing value.
- Author:
- Thorben Betten
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
CLIIllegalOptionValueException
public CLIIllegalOptionValueException(CLIOption opt,
String value)
CLIIllegalOptionValueException
public CLIIllegalOptionValueException(CLIOption opt,
String value,
Throwable cause)
getOption
public CLIOption getOption()
- Gets the name of the option whose value was illegal.
- Returns:
- The name of the option whose value was illegal (e.g. "-u")
getValue
public String getValue()
- Gets the illegal value.
- Returns:
- The illegal value