Class StacklessClosedChannelException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.nio.channels.ClosedChannelException
io.netty.channel.StacklessClosedChannelException
All Implemented Interfaces:
java.io.Serializable

@UnstableApi public final class StacklessClosedChannelException extends java.nio.channels.ClosedChannelException
Cheap ClosedChannelException that does not fill in the stacktrace.
See Also:
  • Field Summary

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

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    java.lang.Throwable
     
    newInstance(java.lang.Class<?> clazz, java.lang.String method)
    Creates a new StacklessClosedChannelException which has the origin of the given Class and method.

    Methods inherited from class java.lang.Throwable

    addSuppressed, 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

    • StacklessClosedChannelException

      private StacklessClosedChannelException()
  • Method Details

    • fillInStackTrace

      public java.lang.Throwable fillInStackTrace()
      Overrides:
      fillInStackTrace in class java.lang.Throwable
    • newInstance

      public static StacklessClosedChannelException newInstance(java.lang.Class<?> clazz, java.lang.String method)
      Creates a new StacklessClosedChannelException which has the origin of the given Class and method.