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.
ChannelErrorException
Thrown when the server sends a frame along a channel that we do not currently have a Session entry in our SessionManager for.
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 IModel.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
RabbitMQClientException
SoftProtocolException
Subclass of ProtocolException representing problems requiring a channel.close.
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 model receives an RPC reply that it wasn't expecting.
UnknownClassOrMethodException
Thrown when the protocol handlers detect an unknown class number or method number.
UnsupportedMethodException
Thrown when the model receives an RPC request it cannot satisfy.
UnsupportedMethodFieldException
Thrown when the model cannot transmit a method field because the version of the protocol the model is implementing does not contain a definition for the field in question.
WireFormattingException
Thrown when the wire-formatting code cannot encode a particular .NET value to AMQP protocol format.