Home / Class/ QuicException Class — netty Architecture

QuicException Class — netty Architecture

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

Entity Profile

Dependency Diagram

graph TD
  5e842df5_ffcf_ae57_d87b_c933ac99bfec["QuicException"]
  dc056ebe_fff5_b0d3_4da8_213cceab232f["QuicException.java"]
  5e842df5_ffcf_ae57_d87b_c933ac99bfec -->|defined in| dc056ebe_fff5_b0d3_4da8_213cceab232f
  d95ab55d_92e1_10ac_7a17_ebdd02fa1c22["QuicException()"]
  5e842df5_ffcf_ae57_d87b_c933ac99bfec -->|method| d95ab55d_92e1_10ac_7a17_ebdd02fa1c22
  6b38ecae_f6f5_3b9e_bdc6_c43fe17c0fd5["QuicTransportError()"]
  5e842df5_ffcf_ae57_d87b_c933ac99bfec -->|method| 6b38ecae_f6f5_3b9e_bdc6_c43fe17c0fd5

Relationship Graph

Source Code

codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicException.java lines 23–62

public class QuicException extends Exception {

    private final QuicTransportError error;

    QuicException(String message) {
        super(message);
        this.error = null;
    }

    public QuicException(QuicTransportError error) {
        super(error.name());
        this.error = error;
    }

    public QuicException(String message, QuicTransportError error) {
        super(message);
        this.error = error;
    }

    public QuicException(Throwable cause, QuicTransportError error) {
        super(cause);
        this.error = error;
    }

    public QuicException(String message, Throwable cause, QuicTransportError error) {
        super(message, cause);
        this.error = error;
    }

    /**
     * Returns the {@link QuicTransportError} which was the cause of the {@link QuicException}.
     *
     * @return  the {@link QuicTransportError} that caused this {@link QuicException} or {@code null} if
     *          it was caused by something different.
     */
    @Nullable
    public QuicTransportError error() {
        return error;
    }
}

Frequently Asked Questions

What is the QuicException class?
QuicException is a class in the netty codebase, defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicException.java.
Where is QuicException defined?
QuicException is defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicException.java at line 23.

Analyze Your Own Codebase

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

Try Supermodel Free