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:
- java.io.Serializable
public class CLIIllegalOptionValueException
- extends CLIOptionException
CLIIllegalOptionValueException
- Indicates an illegal or missing value.
- Author:
- Thorben Betten
- See Also:
- Serialized Form
Method Summary |
CLIOption |
getOption()
Gets the name of the option whose value was illegal. |
java.lang.String |
getValue()
Gets the illegal value. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CLIIllegalOptionValueException
public CLIIllegalOptionValueException(CLIOption opt,
java.lang.String value)
CLIIllegalOptionValueException
public CLIIllegalOptionValueException(CLIOption opt,
java.lang.String value,
java.lang.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 java.lang.String getValue()
- Gets the illegal value.
- Returns:
- The illegal value