Package org.eclipse.jetty.quic.util
Class QuicException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.jetty.quic.util.QuicException
- All Implemented Interfaces:
Serializable
A QUIC exception carrying the error code, the error reason, and the frame type that caused the error.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionQuicException(ErrorCode code, String reason) Creates a new instance with the given error code and reason, and frame type0x00.QuicException(ErrorCode code, String reason, long frameType) Creates a new instance with the given error code, reason, and frame type.QuicException(ErrorCode code, String reason, long frameType, Throwable cause) Creates a new instance with the given error code, reason, frame type and nested cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
QuicException
Creates a new instance with the given error code and reason, and frame type0x00.- Parameters:
code- the error codereason- the error reason
-
QuicException
Creates a new instance with the given error code, reason, and frame type.- Parameters:
code- the error codereason- the error reasonframeType- the frame type that caused the error
-
QuicException
Creates a new instance with the given error code, reason, frame type and nested cause.- Parameters:
code- the error codereason- the error reasonframeType- the frame type that caused the errorcause-
-
-
Method Details