Class ChannelClosedException

All Implemented Interfaces:
Serializable

public class ChannelClosedException extends ChannelStateException
Indicates that the channel is already closed or being closed.
Author:
Kohsuke Kawaguchi
See Also:
  • Constructor Details

    • ChannelClosedException

      @Deprecated public ChannelClosedException()
      Deprecated.
      Use ChannelClosedException(Throwable) or ChannelClosedException(String, Throwable). This constructor will not include cause of the termination.
    • ChannelClosedException

      @Deprecated public ChannelClosedException(Throwable cause)
    • ChannelClosedException

      public ChannelClosedException(@CheckForNull Channel channel, @CheckForNull Throwable cause)
      Constructor.
      Parameters:
      channel - Reference to the channel. null if the channel is unknown.
      cause - Cause
      Since:
      3.15
    • ChannelClosedException

      @Deprecated public ChannelClosedException(@NonNull String message, @CheckForNull Throwable cause)
      Constructor.
      Parameters:
      message - Message
      cause - Cause of the channel close/termination. May be null if it cannot be determined when the exception is constructed.
      Since:
      3.11
    • ChannelClosedException

      public ChannelClosedException(@CheckForNull Channel channel, @NonNull String message, @CheckForNull Throwable cause)
      Constructor.
      Parameters:
      channel - Reference to the channel. null if the channel is unknown.
      message - Message
      cause - Cause of the channel close/termination. May be null if it cannot be determined when the exception is constructed.
      Since:
      3.15