Table of Contents

Namespace RabbitMQ.Client.Exceptions

Classes

AlreadyClosedException

Thrown when the application tries to make use of a session or connection that has already been shut down.

AuthenticationFailureException

Thrown when the cause is an authentication failure.

BrokerUnreachableException

Thrown when no connection could be opened during a ConnectionFactory.CreateConnection attempt.

ChannelAllocationException

Thrown when a SessionManager cannot allocate a new channel number, or the requested channel number is already in use.

ConnectFailureException

Thrown when a connection to the broker fails

HardProtocolException

Subclass of ProtocolException representing problems requiring a connection.close.

MalformedFrameException

Thrown when frame parsing code detects an error in the wire-protocol encoding of a frame.

OperationInterruptedException

Thrown when a session is destroyed during an RPC call to a broker. For example, if a TCP connection dropping causes the destruction of a session in the middle of a QueueDeclare operation, an OperationInterruptedException will be thrown to the caller of IChannel.QueueDeclare.

PacketNotRecognizedException

Thrown to indicate that the peer didn't understand the packet received from the client. Peer sent default message describing protocol version it is using and transport parameters.

PossibleAuthenticationFailureException

Thrown when the likely cause is an authentication failure.

ProtocolException

Instances of subclasses of subclasses HardProtocolException and SoftProtocolException are thrown in situations when we detect a problem with the connection-, channel- or wire-level parts of the AMQP protocol.

ProtocolVersionMismatchException

Thrown to indicate that the peer does not support the wire protocol version we requested immediately after opening the TCP socket.

ProtocolViolationException
PublishException

Class for exceptions related to publisher confirmations or the mandatory flag.

RabbitMQClientException
SyntaxErrorException

Thrown when our peer sends a frame that contains illegal values for one or more fields.

TopologyRecoveryException
UnexpectedFrameException

Thrown when the connection receives a frame that it wasn't expecting.

UnexpectedMethodException

Thrown when the channel receives an RPC reply that it wasn't expecting.

UnknownClassOrMethodException

Thrown when the protocol handlers detect an unknown class number or method number.

WireFormattingException

Thrown when the wire-formatting code cannot encode a particular .NET value to AMQP protocol format.