com.ibm.commerce.foundation.client.facade.bod

Class ClientError

  • All Implemented Interfaces:
    java.io.Serializable


    public class ClientError
    extends ApplicationError
    The client error object represents a particular error. When the caller specifies a series of invalid parameters, each invalid parameter is represented as client error.
    See Also:
    Serialized Form
    • Constructor Detail

      • ClientError

        public ClientError()
        Creates an instance of the client error object.
      • ClientError

        public ClientError(short type,
                           java.lang.String errorKey,
                           java.lang.Object[] errorParameters,
                           java.lang.String resourceBundleName)
        Creates an instance of the client error object.
        Parameters:
        type - The type of error that is being reported. Refer to the constants defined in this class.
        errorKey - The error key associated with the error.
        errorParameters - The error parameters to associated with the key.
        resourceBundleName - The name of the resource bundle to find the key.
      • ClientError

        public ClientError(short type,
                           java.lang.String errorKey,
                           java.lang.String localizedMessage,
                           java.lang.Object[] errorParameters,
                           java.lang.String resourceBundleName,
                           java.lang.String errorCode)
        Creates an instance of the client error object.
        Parameters:
        type - The type of error that is being reported. Refer to the constants defined in this class.
        errorKey - The error key associated with the error.
        localizedMessage - The localized error message associated with the error.
        errorParameters - The error parameters to associated with the key.
        resourceBundleName - The name of the resource bundle to find the key.
        errorCode - The error code to associate with the key.