Package io.netty.handler.codec.quic
Class QuicException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- io.netty.handler.codec.quic.QuicException
-
- All Implemented Interfaces:
java.io.Serializable
public final class QuicException extends java.lang.Exception
Exception produced while processingQUIC
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description QuicException(QuicTransportError error)
QuicException(java.lang.String message, QuicTransportError error)
QuicException(java.lang.String message, java.lang.Throwable cause, QuicTransportError error)
QuicException(java.lang.Throwable cause, QuicTransportError error)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable QuicTransportError
error()
Returns theQuicTransportError
which was the cause of theQuicException
.
-
-
-
Constructor Detail
-
QuicException
public QuicException(QuicTransportError error)
-
QuicException
public QuicException(java.lang.String message, QuicTransportError error)
-
QuicException
public QuicException(java.lang.Throwable cause, QuicTransportError error)
-
QuicException
public QuicException(java.lang.String message, java.lang.Throwable cause, QuicTransportError error)
-
-
Method Detail
-
error
@Nullable public @Nullable QuicTransportError error()
Returns theQuicTransportError
which was the cause of theQuicException
.- Returns:
- the
QuicTransportError
that caused thisQuicException
ornull
if it was caused by something different.
-
-