com.ibm.commerce.marketing.facade.client

Class MarketingEmailTemplateException

  • All Implemented Interfaces:
    java.io.Serializable


    public class MarketingEmailTemplateException
    extends AbstractBusinessObjectDocumentException
    This exception represents a business error about why the request was not processed successfully. This exception will include the response information so the call can examine the response. The purpose of the exception is a convenient way for the client to be notified if there was an error during processing instead of having to examine the result returned * from the MarketingEmailTemplate facade.
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM Copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • MarketingEmailTemplateException

        public MarketingEmailTemplateException(ChangeStatusType changeStatus,
                                               VerbType verb,
                                               java.util.List marketingemailtemplates)
        Creates an instance of the MarketingEmailTemplate exception.
        Parameters:
        changeStatus - The error information that is contained in the ChangeStatus element of the respond or acknowledge verb.
        verb - The returning verb.
        marketingemailtemplates - The list of MarketingEmailTemplate that is associated with the response.
      • MarketingEmailTemplateException

        public MarketingEmailTemplateException(java.util.List clientErrors)
        Creates an instance of the MarketingEmailTemplate exception.
        Parameters:
        clientErrors - The client errors to associate with the exception. These client error represent client side parameter validation that cause the exception.
    • Method Detail

      • getMarketingEmailTemplate

        public java.util.List getMarketingEmailTemplate()
        Returns the MarketingEmailTemplate that is associated with the response of the request.
        Returns:
        The list of MarketingEmailTemplate found in the response.