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:
Serializable
- Direct Known Subclasses:
QuicStreamResetException
public class QuicException extends Exception
Exception produced while processingQUIC.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description QuicException(QuicTransportError error)QuicException(String message, QuicTransportError error)QuicException(String message, Throwable cause, QuicTransportError error)QuicException(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.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
QuicException
public QuicException(QuicTransportError error)
-
QuicException
public QuicException(String message, QuicTransportError error)
-
QuicException
public QuicException(Throwable cause, QuicTransportError error)
-
QuicException
public QuicException(String message, 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.
-
-