com.ibm.commerce.exception

Class InvalidParameterValueException

  • All Implemented Interfaces:
    com.ibm.commerce.exception.ECCorrelatedIdentity, com.ibm.websphere.exception.DistributedExceptionEnabled, 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.
    See Also:
    Serialized Form
    • 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