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 Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace 
- 
Constructor Details
- 
QuicException
 - 
QuicException
 - 
QuicException
 
 - 
 - 
Method Details
- 
getErrorCode
- Returns:
 - the error code
 
 - 
getFrameType
public long getFrameType()- Returns:
 - the frame type that caused the error
 
 - 
toString
 
 -