com.ibm.commerce.exception
Class InvalidParameterValueException
com.ibm.commerce.exception.ECException
|
+--com.ibm.commerce.exception.ECApplicationException
|
+--com.ibm.commerce.exception.InvalidParameterValueException
- All Implemented Interfaces:
- java.io.Serializable
- public class InvalidParameterValueException
- extends ECApplicationException
InvalidParameterValue exception is throw when a parameter does not have the proper value.
For example an integer parameter contains alpha characters.
- See Also:
- Serialized Form
Fields inherited from class com.ibm.commerce.exception.ECException |
APPLICATION_ERROR, ECMESSAGE, ECMESSAGEKEY, errorProperties, EXCEP_DATA, EXCEP_TYPE, EXCEPTION, GENERIC_APPLICATION_ERROR_TASK, GENERIC_SYSTEM_ERROR_TASK, MSG_PARAM, SYSTEM_ERROR |
Method Summary |
java.lang.String |
getParamName()
Gets the parameter name |
java.lang.String |
getParamValue()
Gets the parameter value |
Methods inherited from class com.ibm.commerce.exception.ECException |
getErrorMessageKey, getErrorProperties, getErrorTaskName, getMessageKey, getStackTrace, getThrowable, getUserMessage, logMessage, logMessage, logMessage, setErrorTaskName, setException, setOrginatingCommand, setThrowable |
PARAM_NAME
public static final java.lang.String PARAM_NAME
PARAM_VAL
public static final java.lang.String PARAM_VAL
InvalidParameterValueException
public InvalidParameterValueException(java.lang.String key,
java.lang.String val)
- Constructor of InvalidParameterException.
- Parameters:
key
- java.lang.String - name of parameterval
- java.lang.String - value of parameter
getParamName
public java.lang.String getParamName()
- Gets the parameter name
- Returns:
- java.lang.String the parameter name
getParamValue
public java.lang.String getParamValue()
- Gets the parameter value
- Returns:
- java.lang.String the parameter value