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



com.ibm.commerce.exception
Class ECParameterError

 java.lang.Object
  extended by 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
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.

Method Summary
java.lang.String getDefaultResourceProperties()
This method gets the default resource properties for the message key.
java.lang.String getMessageKey()
This method gets the message key.
java.lang.Object[] getMessageParameters()
This method gets the message parameters.
java.lang.String getParameterIdentifier()
This method gets the parameter identifier.

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

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.

_vcc_freeselect_bottom_


+

Search Tips   |   Advanced Search