com.ibm.commerce.member.facade.client

Class PersonException

  • All Implemented Interfaces:
    java.io.Serializable


    public class PersonException
    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

      • PersonException

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

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

      • getPerson

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