Reference > WebSphere Commerce API > com.ibm.commerce.exception > Classes



com.ibm.commerce.exception
Class InvalidParameterValueException

 java.lang.Object
  extended by CommandException
      extended by com.ibm.commerce.exception.ECException
          extended by com.ibm.commerce.exception.ECApplicationException
              extended by com.ibm.commerce.exception.InvalidParameterValueException

All Implemented Interfaces:

java.io.Serializable

 public class InvalidParameterValueException

extends ECApplicationException

This class defines the exception thrown by the WebSphere Commerce Application Server when a parameter error occurs. An example of a parameter error is an incorrect parameter value such an integer parameter that contains alpha characters.


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.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)
This is the constructor for this class.

Method Summary
java.lang.String getParamName()
This method gets the parameter name.
java.lang.String getParamValue()
This method gets the parameter value.

Methods inherited from class com.ibm.commerce.exception.ECApplicationException
getECParameterErrors, getErrorType, getExceptionFields, getGenericErrorTask, getMessage, logMessage, setExceptionField, setExceptionFields

Methods inherited from class com.ibm.commerce.exception.ECException
addLogData, addLogData, getCorrelationIdentifier, getECMessage, getErrorMessageKey, getErrorProperties, getErrorTaskName, getMessageKey, getMessageParameters, getStackTrace, getSymptomData, getThrowable, getUserMessage, isRecoverable, logMessage, logMessage, printStackTrace, printStackTrace, setErrorTaskName, setException, setOrginatingCommand, setRecoverable, setThrowable

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail


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

Constructor Detail


InvalidParameterValueException

 public InvalidParameterValueException(java.lang.String key,                                       java.lang.String val)

This is the constructor for this class. It calls the constructor from the superclass.

Parameters:

key - The name of the parameter.

val - The value of the parameter.

Method Detail


getParamName

 public java.lang.String getParamName()

This method gets the parameter name.

Returns:

The parameter name.


getParamValue

 public java.lang.String getParamValue()

This method gets the parameter value.

Returns:

The parameter value

_vcc_freeselect_bottom_


+

Search Tips   |   Advanced Search