com.ibm.commerce.giftcenter.facade.client

Class GiftCenterException

    • Constructor Detail

      • GiftCenterException

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

        public GiftCenterException(java.util.List clientErrors)
        Creates an instance of the GiftList exception with the list of client errors.
        Parameters:
        clientErrors - The client errors to associate with the exception. These client errors represent client-side parameter validation that causes the exception.
      • GiftCenterException

        public GiftCenterException(java.lang.String key,
                                   java.lang.String value)
        Creates an instance of the GiftList exception with the error key and value.
        Parameters:
        key - The name of the parameter which caused the exception
        value - The parameter value which caused the exception
    • Method Detail

      • getGiftList

        public java.util.List getGiftList()
        Returns the GiftList that is associated with the response of the request.
        Returns:
        The list of gift lists found in the response.