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

Field Summary
static java.lang.String PARAM_NAME
           
static java.lang.String PARAM_VAL
           
 
Fields inherited from class com.ibm.commerce.exception.ECApplicationException
ERROR_TYPE, GENERIC_ERROR_TASK
 
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
 
Constructor Summary
InvalidParameterValueException(java.lang.String key, java.lang.String val)
          Constructor of InvalidParameterException.
 
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.ECApplicationException
getErrorType, getExceptionFields, getGenericErrorTask, setExceptionField, setExceptionFields
 
Methods inherited from class com.ibm.commerce.exception.ECException
getErrorMessageKey, getErrorProperties, getErrorTaskName, getMessageKey, getStackTrace, getThrowable, getUserMessage, logMessage, logMessage, logMessage, setErrorTaskName, setException, setOrginatingCommand, setThrowable
 

Field Detail

PARAM_NAME

public static final java.lang.String PARAM_NAME

PARAM_VAL

public static final java.lang.String PARAM_VAL
Constructor Detail

InvalidParameterValueException

public InvalidParameterValueException(java.lang.String key,
                                      java.lang.String val)
Constructor of InvalidParameterException.
Parameters:
key - java.lang.String - name of parameter
val - java.lang.String - value of parameter
Method Detail

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