public abstract class AbstractBusinessObjectDocumentException
extends java.lang.Exception
Modifier and Type | Field and Description |
---|---|
static java.lang.String | CHANGE_STATUS_CODE_VALUE_FOR_ERROR
The constant found in the change status code which indicates an error.
|
static java.lang.String | ERROR_COUNT
The error count message, used when the resource bundle isn't available.
|
static java.lang.String | ERROR_COUNT_KEY
The error count message key.
|
static java.lang.String | MESSAGEKEY_ERRORCODE_SEPARATOR
The separator for message key and error code
|
Constructor and Description |
---|
AbstractBusinessObjectDocumentException(ChangeStatusType aChangeStatus, VerbType verb, java.util.List nouns)
Creates an instance of the business object document exception.
|
AbstractBusinessObjectDocumentException(java.util.List clientErrors)
Creates an instance of the business object document exception.
|
Modifier and Type | Method and Description |
---|---|
void | addClientError(ClientError clientError)
This method adds a client error to the existing client errors that are part of the exception.
|
ChangeStatusType | getChangeStatus()
Returns the change status information associated with the exception.
|
java.util.List | getClientErrors()
This method returns the list of client errors associated with the exception.
|
java.lang.String | getLocalizedMessage()
Get the localized exception message.
|
java.lang.String | getMessage()
Get the exception message.
|
protected java.util.List | getNouns()
Returns the list of nouns associated with the exception.
|
VerbType | getVerb()
Returns the verb in the response document.
|
public static final java.lang.String ERROR_COUNT_KEY
public static final java.lang.String ERROR_COUNT
public static final java.lang.String MESSAGEKEY_ERRORCODE_SEPARATOR
public static final java.lang.String CHANGE_STATUS_CODE_VALUE_FOR_ERROR
public AbstractBusinessObjectDocumentException(ChangeStatusType aChangeStatus, VerbType verb, java.util.List nouns)
public AbstractBusinessObjectDocumentException(java.util.List clientErrors)
public java.lang.String getMessage()
public java.lang.String getLocalizedMessage()
public void addClientError(ClientError clientError)
public java.util.List getClientErrors()
public ChangeStatusType getChangeStatus()
protected java.util.List getNouns()
public VerbType getVerb()