Classes Files

com::wombat::mamda::MamdaErrorCode

More…

Public Functions

  Name
String stringForMamdaError(final int type)
short codeForMamaMsgStatus(short wombatStatus)
short codeForMamaStatus(short wombatStatus)

Public Attributes

  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

Detailed Description

class com::wombat::mamda::MamdaErrorCode;

MamdaErrorCode defines MAMDA error codes.

Public Functions Documentation

function stringForMamdaError

static inline String stringForMamdaError(
    final int type
)

Return: The description.

Return a text description of the message’s status.

function codeForMamaMsgStatus

static inline short codeForMamaMsgStatus(
    short wombatStatus
)

function codeForMamaStatus

static inline short codeForMamaStatus(
    short wombatStatus
)

Public Attributes Documentation

variable MAMDA_NO_ERROR

static final short MAMDA_NO_ERROR = 0;

variable MAMDA_ERROR_LINE_DOWN

static final short MAMDA_ERROR_LINE_DOWN = 1;

The feed handler has detected a Line Down.

variable MAMDA_ERROR_NO_SUBSCRIBERS

static final short MAMDA_ERROR_NO_SUBSCRIBERS = 2;

The feed handler does not have any subscribers to the subject

variable MAMDA_ERROR_BAD_SYMBOL

static final short MAMDA_ERROR_BAD_SYMBOL = 3;

The symbol does not exist

variable MAMDA_ERROR_EXPIRED

static final short MAMDA_ERROR_EXPIRED = 4;

Expired

variable MAMDA_ERROR_TIMEOUT

static final short MAMDA_ERROR_TIMEOUT = 5;

A time out occurred

variable MAMDA_ERROR_MISC

static final short MAMDA_ERROR_MISC = 6;

Miscellaneous status. Not an error

variable MAMDA_ERROR_STALE

static final short MAMDA_ERROR_STALE = 7;

The subject is stale. Messages may have been dropped

variable MAMDA_ERROR_PLATFORM_STATUS

static final short MAMDA_ERROR_PLATFORM_STATUS = 8;

Error in the underlying messaging API

variable MAMDA_ERROR_NOT_ENTITLED

static final short MAMDA_ERROR_NOT_ENTITLED = 9;

Not entitled to a subject

variable MAMDA_ERROR_NOT_FOUND

static final short MAMDA_ERROR_NOT_FOUND = 10;

Not found

variable MAMDA_ERROR_POSSIBLY_STALE

static final short MAMDA_ERROR_POSSIBLY_STALE = 11;

Messages may have been dropped

variable MAMDA_ERROR_NOT_PERMISSIONED

static final short MAMDA_ERROR_NOT_PERMISSIONED = 12;

Not permissioned for the subject

variable MAMDA_ERROR_TOPIC_CHANGE

static final short MAMDA_ERROR_TOPIC_CHANGE = 13;

Topic renamed

variable MAMDA_ERROR_BANDWIDTH_EXCEEDED

static final short MAMDA_ERROR_BANDWIDTH_EXCEEDED = 14;

Bandwidth exceeded

variable MAMDA_ERROR_DELETE

static final short MAMDA_ERROR_DELETE = 17;

Message of type DELETE

variable MAMDA_ERROR_EXCEPTION

static final short MAMDA_ERROR_EXCEPTION = 999;

Updated on 2023-03-31 at 15:30:32 +0100