com.ibm.commerce.exception

Class ECParameterError

  • java.lang.Object
    • com.ibm.commerce.exception.ECParameterError


  • public class ECParameterError
    extends java.lang.Object
    This class is a specialization of the service parameter error that uses an ECMessage to populate the error object.
    • Constructor Summary

      Constructors 
      Constructor and Description
      ECParameterError(ECMessage ecMessage, java.lang.Object[] messageParmaeters)
      This is a constructor for this class with two parameters.
      ECParameterError(ECMessage ecMessage, java.lang.Object[] messageParmaeters, java.lang.String parameterIdentifier)
      This is a constructor for this class with three parameters.
    • Constructor Detail

      • ECParameterError

        public ECParameterError(ECMessage ecMessage,
                                java.lang.Object[] messageParmaeters)
        This is a constructor for this class with two parameters.
        Parameters:
        ecMessage - This is the message on which the error object is based.
        messageParmaeters - This is an object that represents the message parameters.
      • ECParameterError

        public ECParameterError(ECMessage ecMessage,
                                java.lang.Object[] messageParmaeters,
                                java.lang.String parameterIdentifier)
        This is a constructor for this class with three parameters. It calls the constructor from the superclass.
        Parameters:
        ecMessage - This is the message on which the error object is based.
        messageParmaeters - This is an object that represents the message parameters.
        parameterIdentifier - This is the parameter identifier of the error.
    • Method Detail

      • getMessageParameters

        public java.lang.Object[] getMessageParameters()
        This method gets the message parameters.
        Returns:
        This method returns the message parameters.
      • getMessageKey

        public java.lang.String getMessageKey()
        This method gets the message key.
        Returns:
        This method returns the message key.
      • getDefaultResourceProperties

        public java.lang.String getDefaultResourceProperties()
        This method gets the default resource properties for the message key.
        Returns:
        This method returns the default resource properties for the message key.
      • getParameterIdentifier

        public java.lang.String getParameterIdentifier()
        This method gets the parameter identifier.
        Returns:
        This method returns the parameter identifier.