com.ibm.commerce.member.facade.client

Class OrganizationException

  • All Implemented Interfaces:
    java.io.Serializable


    public class OrganizationException
    extends AbstractBusinessObjectDocumentException
    This exception represents a business error explaining why the request was not processed sucessfully. This exception will include the response information so the caller 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 instead of having to examine the result returned from the Member facade.
    See Also:
    Serialized Form
    • Constructor Detail

      • OrganizationException

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

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

      • getOrganization

        public java.util.List getOrganization()
        Returns the persons that are associated with the response of the request.
        Returns:
        The list of persons found in the response.