Class 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 call
      int getChannelNumber()  
      Method getMethod()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • channel

        private final java.lang.Object channel
        The channel that performed the call. Typed as Object as the underlying object that performs the call might not be an implementation of Channel.
      • 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