public class InvalidParameterValueException extends CommandValidationException
nls
Constructor and Description |
---|
InvalidParameterValueException(java.lang.String cmdName,
java.lang.String paramName,
java.lang.Object paramVal)
Use this constructor if there is no additional information that needs to be
explain about the cause of the exception, or use
InvalidParameterValueException(String, String, Object, String)
constructor if there is any additional information. |
InvalidParameterValueException(java.lang.String cmdName,
java.lang.String paramName,
java.lang.Object paramVal,
java.lang.String additionalInfo)
Use this constructor if there is any additional information that needs to be
explain about the cause of the exception.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage()
Access method to get the formatted message.
|
java.lang.String |
getParamName()
Access method for the paramName property.
|
java.lang.Object |
getValue()
Access method for the value property.
|
getAdminException, printStackTrace, printStackTrace
public InvalidParameterValueException(java.lang.String cmdName, java.lang.String paramName, java.lang.Object paramVal)
InvalidParameterValueException(String, String, Object, String)
constructor if there is any additional information.cmdName
- is the command name.paramName
- is the parameter name.paramVal
- is the parameter value.public InvalidParameterValueException(java.lang.String cmdName, java.lang.String paramName, java.lang.Object paramVal, java.lang.String additionalInfo)
InvalidParameterValueException(String, String, Object)
constructor instead. Caller who constructs this exception is responsible to
provide NLS enabled message in the additional information.cmdName
- is the command name.paramName
- is the parameter name.paramVal
- is the parameter value.additionalInfo
- is the additional information to explain about the cause of the exception.public java.lang.String getParamName()
public java.lang.Object getValue()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable