Home / Function/ exceptionCaught() — netty Function Reference

exceptionCaught() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  90347a10_087a_85cd_4889_d7b9aeef4ad5["exceptionCaught()"]
  30ffab1a_630f_7349_506d_0e1ab9a85508["ReadAndDiscardHandler"]
  90347a10_087a_85cd_4889_d7b9aeef4ad5 -->|defined in| 30ffab1a_630f_7349_506d_0e1ab9a85508
  style 90347a10_087a_85cd_4889_d7b9aeef4ad5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketSslSessionReuseTest.java lines 315–325

        @Override
        public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception {
            if (logger.isWarnEnabled()) {
                logger.warn(
                        "Unexpected exception from the " +
                        (server? "server" : "client") + " side", cause);
            }

            exception.compareAndSet(null, cause);
            ctx.close();
        }

Domain

Subdomains

Frequently Asked Questions

What does exceptionCaught() do?
exceptionCaught() is a function in the netty codebase, defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketSslSessionReuseTest.java.
Where is exceptionCaught() defined?
exceptionCaught() is defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketSslSessionReuseTest.java at line 315.

Analyze Your Own Codebase

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

Try Supermodel Free