Home / Function/ invokeExceptionCaught() — netty Function Reference

invokeExceptionCaught() — netty Function Reference

Architecture documentation for the invokeExceptionCaught() function in AbstractChannelHandlerContext.java from the netty codebase.

Function java Buffer Telemetry calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  30046b18_f2a1_3cc6_01ab_3f4741be5605["invokeExceptionCaught()"]
  219fdd98_e8e7_d4f7_fea0_eba60352e3de["AbstractChannelHandlerContext"]
  30046b18_f2a1_3cc6_01ab_3f4741be5605 -->|defined in| 219fdd98_e8e7_d4f7_fea0_eba60352e3de
  9c9ad831_2d8b_b01e_bd08_eb0bcb8e44d7["ChannelHandlerContext()"]
  9c9ad831_2d8b_b01e_bd08_eb0bcb8e44d7 -->|calls| 30046b18_f2a1_3cc6_01ab_3f4741be5605
  99283ae3_ac1e_c2ab_31c8_7eec0221bc1c["write()"]
  99283ae3_ac1e_c2ab_31c8_7eec0221bc1c -->|calls| 30046b18_f2a1_3cc6_01ab_3f4741be5605
  a25e13ec_7335_7e25_fe83_5b41ffe22020["invokeHandler()"]
  30046b18_f2a1_3cc6_01ab_3f4741be5605 -->|calls| a25e13ec_7335_7e25_fe83_5b41ffe22020
  style 30046b18_f2a1_3cc6_01ab_3f4741be5605 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/main/java/io/netty/channel/AbstractChannelHandlerContext.java lines 286–307

    @SuppressWarnings("deprecation")
    private void invokeExceptionCaught(final Throwable cause) {
        if (invokeHandler()) {
            try {
                handler().exceptionCaught(this, cause);
            } catch (Throwable error) {
                if (logger.isDebugEnabled()) {
                    logger.debug(
                        "An exception " +
                        "was thrown by a user handler's exceptionCaught() " +
                        "method while handling the following exception:", cause);
                } else if (logger.isWarnEnabled()) {
                    logger.warn(
                        "An exception '{}' [enable DEBUG level for full stacktrace] " +
                        "was thrown by a user handler's exceptionCaught() " +
                        "method while handling the following exception:", error, cause);
                }
            }
        } else {
            fireExceptionCaught(cause);
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does invokeExceptionCaught() do?
invokeExceptionCaught() is a function in the netty codebase, defined in transport/src/main/java/io/netty/channel/AbstractChannelHandlerContext.java.
Where is invokeExceptionCaught() defined?
invokeExceptionCaught() is defined in transport/src/main/java/io/netty/channel/AbstractChannelHandlerContext.java at line 286.
What does invokeExceptionCaught() call?
invokeExceptionCaught() calls 1 function(s): invokeHandler.
What calls invokeExceptionCaught()?
invokeExceptionCaught() is called by 2 function(s): ChannelHandlerContext, write.

Analyze Your Own Codebase

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

Try Supermodel Free