public interface OobErrorMessage extends OobOutgoingMessage, OobMessageMeta
Modifier and Type | Field and Description |
---|---|
static int |
ERROR_CODE_CORRUPTED_CONTENT_TYPE
Error code: Corrupted content.
|
static int |
ERROR_CODE_CUSTOM_BASE
Baseline for the application specific error codes.
|
static int |
ERROR_CODE_UNKNOWN_RECIPIENT
Error code: Unknown "TO" (recipient).
|
static int |
ERROR_CODE_UNSUPPORTED_CONTENT_TYPE
Error code: Unsupported content type.
|
static int |
ERROR_CODE_UNSUPPORTED_LOCALE
Error code: Unsupported locale.
|
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode()
Get the error code.
|
String |
getErrorDescription()
Get the error description.
|
String |
getErrorStackTrace()
Get the error stack trace.
|
String |
getExternalRef()
Get the external reference.
|
Map<String,String> |
getMeta()
Get the meta data
|
getMessageType, setMessageId
getMessageId, getMessageMIMEType, getProviderId, wipe
static final int ERROR_CODE_UNSUPPORTED_LOCALE
static final int ERROR_CODE_UNSUPPORTED_CONTENT_TYPE
static final int ERROR_CODE_CORRUPTED_CONTENT_TYPE
static final int ERROR_CODE_UNKNOWN_RECIPIENT
static final int ERROR_CODE_CUSTOM_BASE
For example the custom error codes could be:
- ERROR_CODE_CUSTOM_BASE
+ 0
- ERROR_CODE_CUSTOM_BASE
+ 1
- ERROR_CODE_CUSTOM_BASE
+ 2
...
int getErrorCode()
String getErrorDescription()
String getErrorStackTrace()
String getExternalRef()
Map<String,String> getMeta()
getMeta
in interface OobMessageMeta