Class MamdaErrorCode


  • public class MamdaErrorCode
    extends java.lang.Object
    MamdaErrorCode defines MAMDA error codes.
    • Field Detail

      • 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
    • Constructor Detail

      • MamdaErrorCode

        public MamdaErrorCode()
    • Method Detail

      • stringForMamdaError

        public static java.lang.String stringForMamdaError​(int type)
        Return a text description of the message's status.
        Returns:
        The description.
      • codeForMamaMsgStatus

        public static short codeForMamaMsgStatus​(short wombatStatus)