Package io.netty.channel
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
CheapClosedChannelExceptionthat does not fill in the stacktrace.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ThrowablefillInStackTrace()static StacklessClosedChannelExceptionnewInstance(java.lang.Class<?> clazz, java.lang.String method)Creates a newStacklessClosedChannelExceptionwhich has the origin of the givenClassand method.
-
-
-
Method Detail
-
fillInStackTrace
public java.lang.Throwable fillInStackTrace()
- Overrides:
fillInStackTracein classjava.lang.Throwable
-
newInstance
public static StacklessClosedChannelException newInstance(java.lang.Class<?> clazz, java.lang.String method)
Creates a newStacklessClosedChannelExceptionwhich has the origin of the givenClassand method.
-
-