public class IllegalOptionParameterException extends CmdLineException
The Throwable.getMessage()
method returns a human-readable
localized description of the error message.
Constructor and Description |
---|
IllegalOptionParameterException(java.lang.String optionName,
java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getOptionName()
Returns the name of the option that caused a problem.
|
java.lang.String |
getValue()
Returns the parameter of the option that caused a problem.
|
public IllegalOptionParameterException(java.lang.String optionName, java.lang.String value)
optionName
- The name of the option whose parameter has a problem.value
- The token that is causing the problem.public java.lang.String getOptionName()
public java.lang.String getValue()
Copyright © 2003-2013 Kohsuke Kawaguchi. All Rights Reserved.