com.ibm.commerce.location.facade.client

Class ClientLocationException

  • All Implemented Interfaces:
    java.io.Serializable


    public class ClientLocationException
    extends AbstractBusinessObjectDocumentException
    This exception represents a business error describing why the request failed. This exception is thrown when the ClientLocation service returns error information.
    See Also:
    Serialized Form
    • Constructor Detail

      • ClientLocationException

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

        public ClientLocationException(java.util.List clientErrors)
        Creates an instance of the ClientLocation 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

      • getClientLocation

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