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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjava.lang.ThrowablenewInstance(java.lang.Class<?> clazz, java.lang.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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
StacklessClosedChannelException
private StacklessClosedChannelException()
-
-
Method Details
-
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.
-