Class 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:
  • Constructor Details

    • HTTP3Exception

      protected HTTP3Exception(long errorCode, String reason)
  • Method Details

    • getErrorCode

      public long getErrorCode()
    • getReason

      public String getReason()