Package com.rabbitmq.client
Class ChannelContinuationTimeoutException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- com.rabbitmq.client.ChannelContinuationTimeoutException
-
- All Implemented Interfaces:
java.io.Serializable
public class ChannelContinuationTimeoutException extends java.io.IOException
Exception thrown when a channel times out on a continuation during a RPC call.- Since:
- 4.1.0
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Object
channel
The channel that performed the call.private int
channelNumber
The number of the channel that performed the call.private Method
method
The request method that timed out.
-
Constructor Summary
Constructors Constructor Description ChannelContinuationTimeoutException(java.util.concurrent.TimeoutException cause, java.lang.Object channel, int channelNumber, Method method)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getChannel()
channel that performed the callint
getChannelNumber()
Method
getMethod()
-
-
-
Field Detail
-
channel
private final java.lang.Object channel
The channel that performed the call. Typed asObject
as the underlying object that performs the call might not be an implementation ofChannel
.
-
channelNumber
private final int channelNumber
The number of the channel that performed the call.
-
method
private final Method method
The request method that timed out.
-
-
Constructor Detail
-
ChannelContinuationTimeoutException
public ChannelContinuationTimeoutException(java.util.concurrent.TimeoutException cause, java.lang.Object channel, int channelNumber, Method method)
-
-
Method Detail
-
getMethod
public Method getMethod()
- Returns:
- request method that timed out
-
getChannel
public java.lang.Object getChannel()
channel that performed the call- Returns:
-
getChannelNumber
public int getChannelNumber()
- Returns:
- number of the channel that performed the call
-
-