Home / Function/ exceptionCaught() — netty Function Reference

exceptionCaught() — netty Function Reference

Architecture documentation for the exceptionCaught() function in Http2ConnectionHandler.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  2e910497_7748_8ee4_6e4c_5c355baac386["exceptionCaught()"]
  a9ab361d_2417_0366_d9d0_ae1adb2145dc["Http2ConnectionHandler"]
  2e910497_7748_8ee4_6e4c_5c355baac386 -->|defined in| a9ab361d_2417_0366_d9d0_ae1adb2145dc
  c019b218_592f_da69_100d_79381ffa0e04["onError()"]
  2e910497_7748_8ee4_6e4c_5c355baac386 -->|calls| c019b218_592f_da69_100d_79381ffa0e04
  style 2e910497_7748_8ee4_6e4c_5c355baac386 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ConnectionHandler.java lines 580–588

    @Override
    public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception {
        if (getEmbeddedHttp2Exception(cause) != null) {
            // Some exception in the causality chain is an Http2Exception - handle it.
            onError(ctx, false, cause);
        } else {
            super.exceptionCaught(ctx, cause);
        }
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does exceptionCaught() do?
exceptionCaught() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ConnectionHandler.java.
Where is exceptionCaught() defined?
exceptionCaught() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ConnectionHandler.java at line 580.
What does exceptionCaught() call?
exceptionCaught() calls 1 function(s): onError.

Analyze Your Own Codebase

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

Try Supermodel Free