Name | |
---|---|
String | stringForMamdaError(final int type) |
short | codeForMamaMsgStatus(short wombatStatus) |
short | codeForMamaStatus(short wombatStatus) |
Name | |
---|---|
final short | MAMDA_NO_ERROR |
final short | MAMDA_ERROR_LINE_DOWN |
final short | MAMDA_ERROR_NO_SUBSCRIBERS |
final short | MAMDA_ERROR_BAD_SYMBOL |
final short | MAMDA_ERROR_EXPIRED |
final short | MAMDA_ERROR_TIMEOUT |
final short | MAMDA_ERROR_MISC |
final short | MAMDA_ERROR_STALE |
final short | MAMDA_ERROR_PLATFORM_STATUS |
final short | MAMDA_ERROR_NOT_ENTITLED |
final short | MAMDA_ERROR_NOT_FOUND |
final short | MAMDA_ERROR_POSSIBLY_STALE |
final short | MAMDA_ERROR_NOT_PERMISSIONED |
final short | MAMDA_ERROR_TOPIC_CHANGE |
final short | MAMDA_ERROR_BANDWIDTH_EXCEEDED |
final short | MAMDA_ERROR_DELETE |
final short | MAMDA_ERROR_EXCEPTION |
class com::wombat::mamda::MamdaErrorCode;
MamdaErrorCode defines MAMDA error codes.
static inline String stringForMamdaError(
final int type
)
Return: The description.
Return a text description of the message’s status.
static inline short codeForMamaMsgStatus(
short wombatStatus
)
static inline short codeForMamaStatus(
short wombatStatus
)
static final short MAMDA_NO_ERROR = 0;
static final short MAMDA_ERROR_LINE_DOWN = 1;
The feed handler has detected a Line Down.
static final short MAMDA_ERROR_NO_SUBSCRIBERS = 2;
The feed handler does not have any subscribers to the subject
static final short MAMDA_ERROR_BAD_SYMBOL = 3;
The symbol does not exist
static final short MAMDA_ERROR_EXPIRED = 4;
Expired
static final short MAMDA_ERROR_TIMEOUT = 5;
A time out occurred
static final short MAMDA_ERROR_MISC = 6;
Miscellaneous status. Not an error
static final short MAMDA_ERROR_STALE = 7;
The subject is stale. Messages may have been dropped
static final short MAMDA_ERROR_PLATFORM_STATUS = 8;
Error in the underlying messaging API
static final short MAMDA_ERROR_NOT_ENTITLED = 9;
Not entitled to a subject
static final short MAMDA_ERROR_NOT_FOUND = 10;
Not found
static final short MAMDA_ERROR_POSSIBLY_STALE = 11;
Messages may have been dropped
static final short MAMDA_ERROR_NOT_PERMISSIONED = 12;
Not permissioned for the subject
static final short MAMDA_ERROR_TOPIC_CHANGE = 13;
Topic renamed
static final short MAMDA_ERROR_BANDWIDTH_EXCEEDED = 14;
Bandwidth exceeded
static final short MAMDA_ERROR_DELETE = 17;
Message of type DELETE
static final short MAMDA_ERROR_EXCEPTION = 999;
Updated on 2023-03-31 at 15:30:32 +0100