Class StacklessClosedChannelException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.nio.channels.ClosedChannelException
io.servicetalk.transport.netty.internal.StacklessClosedChannelException
- All Implemented Interfaces:
Serializable
ClosedChannelException
that will not fill in the stacktrace but use a cheaper way of producing
limited stacktrace details for the user.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionnewInstance
(Class<?> clazz, String method) Creates a newStacklessClosedChannelException
instance.Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
fillInStackTrace
- Overrides:
fillInStackTrace
in classThrowable
-
newInstance
Creates a newStacklessClosedChannelException
instance.- Parameters:
clazz
- The class in which thisStacklessClosedChannelException
will be used.method
- The method from which it will be thrown.- Returns:
- a new instance.
-