public class PersonException extends AbstractBusinessObjectDocumentException
CHANGE_STATUS_CODE_VALUE_FOR_ERROR, ERROR_COUNT, ERROR_COUNT_KEY, MESSAGEKEY_ERRORCODE_SEPARATOR
Constructor and Description |
---|
PersonException(ChangeStatusType changeStatus,
VerbType verb,
java.util.List persons)
Creates an instance of the Person exception.
|
PersonException(java.util.List clientErrors)
Creates an instance of the Person exception.
|
Modifier and Type | Method and Description |
---|---|
java.util.List |
getPerson()
Returns the persons associated with the response of the request.
|
addClientError, getChangeStatus, getClientErrors, getLocalizedMessage, getMessage, getVerb
public PersonException(ChangeStatusType changeStatus, VerbType verb, java.util.List persons)
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.public PersonException(java.util.List clientErrors)
clientErrors
- The client errors to associate with the exception. These client
error represent client side parameter validation that cause the exception.