Package com.wombat.mamda
Class MamdaErrorCode
- java.lang.Object
-
- com.wombat.mamda.MamdaErrorCode
-
public class MamdaErrorCode extends java.lang.ObjectMamdaErrorCode defines MAMDA error codes.
-
-
Field Summary
Fields Modifier and Type Field Description static shortMAMDA_ERROR_BAD_SYMBOLThe symbol does not existstatic shortMAMDA_ERROR_BANDWIDTH_EXCEEDEDBandwidth exceededstatic shortMAMDA_ERROR_DELETEMessage of type DELETEstatic shortMAMDA_ERROR_EXCEPTIONstatic shortMAMDA_ERROR_EXPIREDExpiredstatic shortMAMDA_ERROR_LINE_DOWNThe feed handler has detected a Line Down.static shortMAMDA_ERROR_MISCMiscellaneous status.static shortMAMDA_ERROR_NO_SUBSCRIBERSThe feed handler does not have any subscribers to the subjectstatic shortMAMDA_ERROR_NOT_ENTITLEDNot entitled to a subjectstatic shortMAMDA_ERROR_NOT_FOUNDNot foundstatic shortMAMDA_ERROR_NOT_PERMISSIONEDNot permissioned for the subjectstatic shortMAMDA_ERROR_PLATFORM_STATUSError in the underlying messaging APIstatic shortMAMDA_ERROR_POSSIBLY_STALEMessages may have been droppedstatic shortMAMDA_ERROR_STALEThe subject is stale.static shortMAMDA_ERROR_TIMEOUTA time out occurredstatic shortMAMDA_ERROR_TOPIC_CHANGETopic renamedstatic shortMAMDA_NO_ERROR
-
Constructor Summary
Constructors Constructor Description MamdaErrorCode()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static shortcodeForMamaMsgStatus(short wombatStatus)static java.lang.StringstringForMamdaError(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
-
-