com.ibm.commerce.exception
Class InvalidParameterValueException
java.lang.Object
|
+--CommandException
|
+--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
The default value of the parameter name. |
static java.lang.String |
PARAM_VAL
The default value of the parameter value. |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
PARAM_NAME
public static final java.lang.String PARAM_NAME
- The default value of the parameter name.
- See Also:
-
Constant Field Values
PARAM_VAL
public static final java.lang.String PARAM_VAL
- The default value of the parameter value.
- See Also:
-
Constant Field Values
InvalidParameterValueException
public InvalidParameterValueException(java.lang.String key,
java.lang.String val)
- Constructor of InvalidParameterException.
- Parameters:
key
- name of parameter
val
- value of parameter
getParamName
public java.lang.String getParamName()
- Gets the parameter name.
-
- Returns:
- the parameter name
getParamValue
public java.lang.String getParamValue()
- Gets the parameter value.
-
- Returns:
- the parameter value