com.ibm.commerce.inventory.facade.client

Class InventoryRequirementException

  • All Implemented Interfaces:
    java.io.Serializable


    public class InventoryRequirementException
    extends AbstractBusinessObjectDocumentException
    This exception represents a business error defining why the request did not sucessfully 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 InventoryRequirement facade.
    See Also:
    Serialized Form
    • Constructor Detail

      • InventoryRequirementException

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

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

      • getInventoryRequirement

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