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.ExceptionException 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 QuicTransportErrorerror()Returns theQuicTransportErrorwhich 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 theQuicTransportErrorwhich was the cause of theQuicException.- Returns:
- the
QuicTransportErrorthat caused thisQuicExceptionornullif it was caused by something different.
-
-