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:
java.io.Serializable
public final class StacklessClosedChannelException extends java.nio.channels.ClosedChannelException
ClosedChannelException
that will not not fill in the stacktrace but use a cheaper way of producing limited stacktrace details for the user.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Throwable
fillInStackTrace()
static StacklessClosedChannelException
newInstance(java.lang.Class<?> clazz, java.lang.String method)
Creates a newStacklessClosedChannelException
instance.
-
-
-
Method Detail
-
fillInStackTrace
public java.lang.Throwable fillInStackTrace()
- Overrides:
fillInStackTrace
in classjava.lang.Throwable
-
newInstance
public static StacklessClosedChannelException newInstance(java.lang.Class<?> clazz, java.lang.String method)
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.
-
-