public class QuoteException extends AbstractBusinessObjectDocumentException
CHANGE_STATUS_CODE_VALUE_FOR_ERROR, ERROR_COUNT, ERROR_COUNT_KEY, MESSAGEKEY_ERRORCODE_SEPARATOR
Constructor and Description |
---|
QuoteException(ChangeStatusType changeStatus,
VerbType verb,
java.util.List quotes)
Creates an instance of the Quote exception.
|
QuoteException(java.util.List clientErrors)
Creates an instance of the Quote exception.
|
QuoteException(java.lang.String key,
java.lang.String value)
This method is a construction of the class
|
Modifier and Type | Method and Description |
---|---|
java.util.List |
getQuote()
Returns the Quote that is associated with the response of the request.
|
addClientError, getChangeStatus, getClientErrors, getLocalizedMessage, getMessage, getVerb
public QuoteException(ChangeStatusType changeStatus, VerbType verb, java.util.List quotes)
changeStatus
- The error information that is contained in the ChangeStatus
element of the respond or acknowledge verb.verb
- The returning verb.quotes
- The list of Quote that is associated with the response.public QuoteException(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.public QuoteException(java.lang.String key, java.lang.String value)
key
- the message keyvalue
- the message value