com.ibm.commerce.inventory.facade.client

Class InventoryAvailabilityException

  • All Implemented Interfaces:
    java.io.Serializable


    public class InventoryAvailabilityException
    extends AbstractBusinessObjectDocumentException
    This exception represents a business error defining why the request did not successfully process. This exception includes the response information, where the call examines the response. The purpose of the exception is providing a convenient way to notify the client if errors occurred when processing, instead of examining the returned result from the InventoryAvailability facade.
    See Also:
    Serialized Form
    • Constructor Detail

      • InventoryAvailabilityException

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

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

      • getInventoryAvailability

        public java.util.List getInventoryAvailability()
        Returns the InventoryAvailability associated with the response of the request.
        Returns:
        The list of InventoryAvailability found in the response.