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.IOExceptionException 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.ObjectchannelThe channel that performed the call.private intchannelNumberThe number of the channel that performed the call.private MethodmethodThe 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.ObjectgetChannel()channel that performed the callintgetChannelNumber()MethodgetMethod()
-
-
-
Field Detail
-
channel
private final java.lang.Object channel
The channel that performed the call. Typed asObjectas 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
-
-