Package io.netty.handler.codec.quic
Class QuicClosedChannelException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- java.nio.channels.ClosedChannelException
-
- io.netty.handler.codec.quic.QuicClosedChannelException
-
- All Implemented Interfaces:
java.io.Serializable
public final class QuicClosedChannelException extends java.nio.channels.ClosedChannelException
SpecialQuicClosedChannelException
which also provides extra info if the close was a result of aQuicConnectionCloseEvent
that was triggered by the remote peer.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable QuicConnectionCloseEvent
event()
Returns theQuicConnectionCloseEvent
that caused the closure ornull
if none was received.
-
-
-
Method Detail
-
event
@Nullable public @Nullable QuicConnectionCloseEvent event()
Returns theQuicConnectionCloseEvent
that caused the closure ornull
if none was received.- Returns:
- the event.
-
-