Package com.wombat.mamda
Class MamdaErrorCode
- java.lang.Object
-
- com.wombat.mamda.MamdaErrorCode
-
public class MamdaErrorCode extends java.lang.Object
MamdaErrorCode defines MAMDA error codes.
-
-
Field Summary
Fields Modifier and Type Field Description static short
MAMDA_ERROR_BAD_SYMBOL
The symbol does not existstatic short
MAMDA_ERROR_BANDWIDTH_EXCEEDED
Bandwidth exceededstatic short
MAMDA_ERROR_DELETE
Message of type DELETEstatic short
MAMDA_ERROR_EXCEPTION
static short
MAMDA_ERROR_EXPIRED
Expiredstatic short
MAMDA_ERROR_LINE_DOWN
The feed handler has detected a Line Down.static short
MAMDA_ERROR_MISC
Miscellaneous status.static short
MAMDA_ERROR_NO_SUBSCRIBERS
The feed handler does not have any subscribers to the subjectstatic short
MAMDA_ERROR_NOT_ENTITLED
Not entitled to a subjectstatic short
MAMDA_ERROR_NOT_FOUND
Not foundstatic short
MAMDA_ERROR_NOT_PERMISSIONED
Not permissioned for the subjectstatic short
MAMDA_ERROR_PLATFORM_STATUS
Error in the underlying messaging APIstatic short
MAMDA_ERROR_POSSIBLY_STALE
Messages may have been droppedstatic short
MAMDA_ERROR_STALE
The subject is stale.static short
MAMDA_ERROR_TIMEOUT
A time out occurredstatic short
MAMDA_ERROR_TOPIC_CHANGE
Topic renamedstatic short
MAMDA_NO_ERROR
-
Constructor Summary
Constructors Constructor Description MamdaErrorCode()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static short
codeForMamaMsgStatus(short wombatStatus)
static java.lang.String
stringForMamdaError(int type)
Return a text description of the message's status.
-
-
-
Field Detail
-
MAMDA_NO_ERROR
public static final short MAMDA_NO_ERROR
- See Also:
- Constant Field Values
-
MAMDA_ERROR_LINE_DOWN
public static final short MAMDA_ERROR_LINE_DOWN
The feed handler has detected a Line Down.- See Also:
- Constant Field Values
-
MAMDA_ERROR_NO_SUBSCRIBERS
public static final short MAMDA_ERROR_NO_SUBSCRIBERS
The feed handler does not have any subscribers to the subject- See Also:
- Constant Field Values
-
MAMDA_ERROR_BAD_SYMBOL
public static final short MAMDA_ERROR_BAD_SYMBOL
The symbol does not exist- See Also:
- Constant Field Values
-
MAMDA_ERROR_EXPIRED
public static final short MAMDA_ERROR_EXPIRED
Expired- See Also:
- Constant Field Values
-
MAMDA_ERROR_TIMEOUT
public static final short MAMDA_ERROR_TIMEOUT
A time out occurred- See Also:
- Constant Field Values
-
MAMDA_ERROR_MISC
public static final short MAMDA_ERROR_MISC
Miscellaneous status. Not an error- See Also:
- Constant Field Values
-
MAMDA_ERROR_STALE
public static final short MAMDA_ERROR_STALE
The subject is stale. Messages may have been dropped- See Also:
- Constant Field Values
-
MAMDA_ERROR_PLATFORM_STATUS
public static final short MAMDA_ERROR_PLATFORM_STATUS
Error in the underlying messaging API- See Also:
- Constant Field Values
-
MAMDA_ERROR_NOT_ENTITLED
public static final short MAMDA_ERROR_NOT_ENTITLED
Not entitled to a subject- See Also:
- Constant Field Values
-
MAMDA_ERROR_NOT_FOUND
public static final short MAMDA_ERROR_NOT_FOUND
Not found- See Also:
- Constant Field Values
-
MAMDA_ERROR_POSSIBLY_STALE
public static final short MAMDA_ERROR_POSSIBLY_STALE
Messages may have been dropped- See Also:
- Constant Field Values
-
MAMDA_ERROR_NOT_PERMISSIONED
public static final short MAMDA_ERROR_NOT_PERMISSIONED
Not permissioned for the subject- See Also:
- Constant Field Values
-
MAMDA_ERROR_TOPIC_CHANGE
public static final short MAMDA_ERROR_TOPIC_CHANGE
Topic renamed- See Also:
- Constant Field Values
-
MAMDA_ERROR_BANDWIDTH_EXCEEDED
public static final short MAMDA_ERROR_BANDWIDTH_EXCEEDED
Bandwidth exceeded- See Also:
- Constant Field Values
-
MAMDA_ERROR_DELETE
public static final short MAMDA_ERROR_DELETE
Message of type DELETE- See Also:
- Constant Field Values
-
MAMDA_ERROR_EXCEPTION
public static final short MAMDA_ERROR_EXCEPTION
- See Also:
- Constant Field Values
-
-