Class HTTP3Exception
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.jetty.http3.HTTP3Exception
- All Implemented Interfaces:
 Serializable
- Direct Known Subclasses:
 HTTP3Exception.SessionException, HTTP3Exception.StreamException
public abstract sealed class HTTP3Exception
extends RuntimeException
permits HTTP3Exception.StreamException, HTTP3Exception.SessionException
Base class for HTTP/3 exception, carrying an HTTP/3 error code and a reason.
- See Also:
 
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHTTP/3 exception that affects the session.static final classHTTP/3 exception that affects a stream, not the session. - 
Constructor Summary
Constructors - 
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
- 
Constructor Details
- 
HTTP3Exception
 
 - 
 - 
Method Details
- 
getErrorCode
public long getErrorCode() - 
getReason
 
 -