Class QuicException
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.netty.handler.codec.quic.QuicException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
QuicStreamResetException
-
Constructor Summary
ConstructorsConstructorDescriptionQuicException(QuicTransportError error) QuicException(String message, QuicTransportError error) QuicException(String message, Throwable cause, QuicTransportError error) QuicException(Throwable cause, QuicTransportError error) -
Method Summary
Modifier and TypeMethodDescription@Nullable QuicTransportErrorerror()Returns theQuicTransportErrorwhich was the cause of theQuicException.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
QuicException
-
QuicException
-
QuicException
-
QuicException
-
-
Method Details
-
error
Returns theQuicTransportErrorwhich was the cause of theQuicException.- Returns:
- the
QuicTransportErrorthat caused thisQuicExceptionornullif it was caused by something different.
-