com.ibm.commerce.infrastructure.facade.client

Class OnlineStoreException

  • All Implemented Interfaces:
    java.io.Serializable


    public class OnlineStoreException
    extends AbstractBusinessObjectDocumentException
    This exception represents a business error to why the request was not process sucessfully. This exception will include the response information so the call can examine the response. The purpose of the exception is a convient way for the client to be notified if there was an error when processing instead of having to examine the result returned from the OnlineStore facade.
    See Also:
    Serialized Form
    • Constructor Detail

      • OnlineStoreException

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

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

      • getOnlineStore

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