Interface ErrorCodes


  • public interface ErrorCodes
    Defines constants for AMQP codes
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int ACCESS_REFUSED
      The client attempted to work with a server entity to which it has no access due to security settings.
      static int ALREADY_EXISTS
      The client attempted to work with a server entity to which it has no access because another client is working with it.
      static int ARGUMENT_INVALID  
      static int CHANNEL_ERROR
      The client attempted to work with a channel that had not been correctly opened.
      static int COMMAND_INVALID
      The client sent an invalid sequence of frames, attempting to perform an operation that was considered invalid by the server.
      static int CONNECTION_FORCED
      An operator intervened to close the connection for some reason.
      static int FRAME_ERROR
      The client sent a malformed frame that the server could not decode.
      static int IN_USE
      The client requested a method that was not allowed because some precondition failed.
      static int INTERNAL_ERROR
      The server could not complete the method because of an internal error.
      static int INVALID_ARGUMENT  
      static int INVALID_PATH
      The client tried to work with an unknown virtual host or cluster.
      static int INVALID_ROUTING_KEY  
      static int MESSAGE_TOO_LARGE
      The client attempted to transfer content larger than the server could accept at the present time.
      static int NO_CONSUMERS
      When the exchange cannot deliver to a consumer when the immediate flag is set.
      static int NO_ROUTE
      When the exchange cannot route the result of a .Publish, most likely due to an invalid routing key.
      static int NOT_ALLOWED
      The client tried to work with some entity in a manner that is prohibited by the server, due to security settings or by some other criteria.
      static int NOT_DELIVERED
      The client asked for a specific message that is no longer available.
      static int NOT_FOUND
      The client attempted to work with a server entity that does not exist.
      static int NOT_IMPLEMENTED
      The client tried to use functionality that is not implemented in the server.
      static int REPLY_SUCCESS
      Indicates that the method completed successfully.
      static int REQUEST_TIMEOUT  
      static int RESOURCE_ERROR
      The server could not complete the method because it lacked sufficient resources.
      static int SYNTAX_ERROR
      The client sent a frame that contained illegal values for one or more fields.
      static int UNSUPPORTED_CLIENT_PROTOCOL_ERROR
      The client impl does not support the protocol version
    • Field Detail

      • REPLY_SUCCESS

        static final int REPLY_SUCCESS
        Indicates that the method completed successfully.
        See Also:
        Constant Field Values
      • NOT_DELIVERED

        static final int NOT_DELIVERED
        The client asked for a specific message that is no longer available. The message was delivered to another client, or was purged from the queue for some other reason.
        See Also:
        Constant Field Values
      • MESSAGE_TOO_LARGE

        static final int MESSAGE_TOO_LARGE
        The client attempted to transfer content larger than the server could accept at the present time. The client may retry at a later time.
        See Also:
        Constant Field Values
      • NO_ROUTE

        static final int NO_ROUTE
        When the exchange cannot route the result of a .Publish, most likely due to an invalid routing key. Only when the mandatory flag is set.
        See Also:
        Constant Field Values
      • NO_CONSUMERS

        static final int NO_CONSUMERS
        When the exchange cannot deliver to a consumer when the immediate flag is set. As a result of pending data on the queue or the absence of any consumers of the queue.
        See Also:
        Constant Field Values
      • CONNECTION_FORCED

        static final int CONNECTION_FORCED
        An operator intervened to close the connection for some reason. The client may retry at some later date.
        See Also:
        Constant Field Values
      • INVALID_PATH

        static final int INVALID_PATH
        The client tried to work with an unknown virtual host or cluster.
        See Also:
        Constant Field Values
      • ACCESS_REFUSED

        static final int ACCESS_REFUSED
        The client attempted to work with a server entity to which it has no access due to security settings.
        See Also:
        Constant Field Values
      • NOT_FOUND

        static final int NOT_FOUND
        The client attempted to work with a server entity that does not exist.
        See Also:
        Constant Field Values
      • ALREADY_EXISTS

        static final int ALREADY_EXISTS
        The client attempted to work with a server entity to which it has no access because another client is working with it.
        See Also:
        Constant Field Values
      • IN_USE

        static final int IN_USE
        The client requested a method that was not allowed because some precondition failed.
        See Also:
        Constant Field Values
      • FRAME_ERROR

        static final int FRAME_ERROR
        The client sent a malformed frame that the server could not decode. This strongly implies a programming error in the client.
        See Also:
        Constant Field Values
      • SYNTAX_ERROR

        static final int SYNTAX_ERROR
        The client sent a frame that contained illegal values for one or more fields. This strongly implies a programming error in the client.
        See Also:
        Constant Field Values
      • COMMAND_INVALID

        static final int COMMAND_INVALID
        The client sent an invalid sequence of frames, attempting to perform an operation that was considered invalid by the server. This usually implies a programming error in the client.
        See Also:
        Constant Field Values
      • CHANNEL_ERROR

        static final int CHANNEL_ERROR
        The client attempted to work with a channel that had not been correctly opened. This most likely indicates a fault in the client layer.
        See Also:
        Constant Field Values
      • RESOURCE_ERROR

        static final int RESOURCE_ERROR
        The server could not complete the method because it lacked sufficient resources. This may be due to the client creating too many of some type of entity.
        See Also:
        Constant Field Values
      • NOT_ALLOWED

        static final int NOT_ALLOWED
        The client tried to work with some entity in a manner that is prohibited by the server, due to security settings or by some other criteria.
        See Also:
        Constant Field Values
      • NOT_IMPLEMENTED

        static final int NOT_IMPLEMENTED
        The client tried to use functionality that is not implemented in the server.
        See Also:
        Constant Field Values
      • INTERNAL_ERROR

        static final int INTERNAL_ERROR
        The server could not complete the method because of an internal error. The server may require intervention by an operator in order to resume normal operations.
        See Also:
        Constant Field Values
      • UNSUPPORTED_CLIENT_PROTOCOL_ERROR

        static final int UNSUPPORTED_CLIENT_PROTOCOL_ERROR
        The client impl does not support the protocol version
        See Also:
        Constant Field Values