Home / Class/ Http3Exception Class — netty Architecture

Http3Exception Class — netty Architecture

Architecture documentation for the Http3Exception class in Http3Exception.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  75159b50_bea5_67d8_a8e9_b709b204eb10["Http3Exception"]
  2ef337a2_bd14_4605_47a8_a3802d4472b7["Http3Exception.java"]
  75159b50_bea5_67d8_a8e9_b709b204eb10 -->|defined in| 2ef337a2_bd14_4605_47a8_a3802d4472b7
  caa409d6_1809_74d8_dd03_60d92d8a9903["Http3Exception()"]
  75159b50_bea5_67d8_a8e9_b709b204eb10 -->|method| caa409d6_1809_74d8_dd03_60d92d8a9903
  8acf6816_5fdf_8120_09f6_eb0fa783e700["Http3ErrorCode()"]
  75159b50_bea5_67d8_a8e9_b709b204eb10 -->|method| 8acf6816_5fdf_8120_09f6_eb0fa783e700

Relationship Graph

Source Code

codec-http3/src/main/java/io/netty/handler/codec/http3/Http3Exception.java lines 24–58

public final class Http3Exception extends Exception {
    private final Http3ErrorCode errorCode;

    /**
     * Create a new instance.
     *
     * @param errorCode the {@link Http3ErrorCode} that caused this exception.
     * @param message   the message to include.
     */
    public Http3Exception(Http3ErrorCode errorCode, @Nullable String message) {
        super(message);
        this.errorCode = ObjectUtil.checkNotNull(errorCode, "errorCode");
    }

    /**
     * Create a new instance.
     *
     * @param errorCode the {@link Http3ErrorCode} that caused this exception.
     * @param message   the message to include.
     * @param cause     the {@link Throwable} to wrap.
     */
    public Http3Exception(Http3ErrorCode errorCode, String message, @Nullable Throwable cause) {
        super(message, cause);
        this.errorCode = ObjectUtil.checkNotNull(errorCode, "errorCode");
    }

    /**
     * Returns the related {@link Http3ErrorCode}.
     *
     * @return the {@link Http3ErrorCode}.
     */
    public Http3ErrorCode errorCode() {
        return errorCode;
    }
}

Frequently Asked Questions

What is the Http3Exception class?
Http3Exception is a class in the netty codebase, defined in codec-http3/src/main/java/io/netty/handler/codec/http3/Http3Exception.java.
Where is Http3Exception defined?
Http3Exception is defined in codec-http3/src/main/java/io/netty/handler/codec/http3/Http3Exception.java at line 24.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free