Class ChannelException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.netty.channel.ChannelException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ChannelException.StacklessChannelException, ChannelGroupException, ChannelPipelineException, EventLoopException, TimeoutException

public class ChannelException extends java.lang.RuntimeException
A RuntimeException which is thrown when an I/O operation fails.
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    private static final class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final long
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
     
    Creates a new exception.
     
    ChannelException(java.lang.String message)
    Creates a new exception.
     
    ChannelException(java.lang.String message, java.lang.Throwable cause)
    Creates a new exception.
    protected
    ChannelException(java.lang.String message, java.lang.Throwable cause, boolean shared)
     
     
    ChannelException(java.lang.Throwable cause)
    Creates a new exception.
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) static ChannelException
    newStatic(java.lang.String message, java.lang.Class<?> clazz, java.lang.String method)
     

    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 Details

  • Constructor Details

    • ChannelException

      public ChannelException()
      Creates a new exception.
    • ChannelException

      public ChannelException(java.lang.String message, java.lang.Throwable cause)
      Creates a new exception.
    • ChannelException

      public ChannelException(java.lang.String message)
      Creates a new exception.
    • ChannelException

      public ChannelException(java.lang.Throwable cause)
      Creates a new exception.
    • ChannelException

      protected ChannelException(java.lang.String message, java.lang.Throwable cause, boolean shared)
  • Method Details

    • newStatic

      static ChannelException newStatic(java.lang.String message, java.lang.Class<?> clazz, java.lang.String method)