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:
Serializable
@UnstableApi public final class StacklessClosedChannelException extends 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 ThrowablefillInStackTrace()static StacklessClosedChannelExceptionnewInstance(Class<?> clazz, String method)Creates a newStacklessClosedChannelExceptionwhich has the origin of the givenClassand method.-
Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
fillInStackTrace
public Throwable fillInStackTrace()
- Overrides:
fillInStackTracein classThrowable
-
newInstance
public static StacklessClosedChannelException newInstance(Class<?> clazz, String method)
Creates a newStacklessClosedChannelExceptionwhich has the origin of the givenClassand method.
-
-