Class CampaignException

  • All Implemented Interfaces:

    public class CampaignException
    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 Campaign facade.
    See Also:
    Serialized Form
    • Field Detail


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

      • CampaignException

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

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

      • getCampaign

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