com.ibm.commerce.order.facade.client

Class OrderException

  • All Implemented Interfaces:
    java.io.Serializable


    public class OrderException
    extends AbstractBusinessObjectDocumentException
    This exception represents a business error to why the request was not process 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 when processing. Then it is no need to examine the result returned from the Order facade.
    See Also:
    Serialized Form
    • Constructor Detail

      • OrderException

        public OrderException(ChangeStatusType changeStatus,
                              VerbType verb,
                              java.util.List orders)
        This method creates an instance of the Order exception.
        Parameters:
        changeStatus - The error information that is contained in the ChangeStatus element of the respond or acknowledge verb.
        verb - The returning verb.
        orders - The list of Order that is associated with the response.
      • OrderException

        public OrderException(java.util.List clientErrors)
        This is the constructor of the class.
        Parameters:
        clientErrors - the list of client errors.
      • OrderException

        public OrderException(java.lang.String key,
                              java.lang.String value)
        This method is a construction of the class
        Parameters:
        key - the message key
        value - the message value
    • Method Detail

      • getOrder

        public java.util.List getOrder()
        This method returns the orders that are associated with the response of the request.
        Returns:
        The list of orders found in the response.