Home / Function/ testExceptionIn_toString() — netty Function Reference

testExceptionIn_toString() — netty Function Reference

Architecture documentation for the testExceptionIn_toString() function in MessageFormatterTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  c4bc5c3d_c08f_d4e5_a1ad_891c7b5087dc["testExceptionIn_toString()"]
  61b49498_5128_d2ab_e17e_0c346b46695a["MessageFormatterTest"]
  c4bc5c3d_c08f_d4e5_a1ad_891c7b5087dc -->|defined in| 61b49498_5128_d2ab_e17e_0c346b46695a
  style c4bc5c3d_c08f_d4e5_a1ad_891c7b5087dc fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/test/java/io/netty/util/internal/logging/MessageFormatterTest.java lines 148–158

    @Test
    public void testExceptionIn_toString() {
        Object o = new Object() {
            @Override
            public String toString() {
                throw new IllegalStateException("a");
            }
        };
        String result = MessageFormatter.format("Troublesome object {}", o).getMessage();
        assertEquals("Troublesome object [FAILED toString()]", result);
    }

Domain

Subdomains

Frequently Asked Questions

What does testExceptionIn_toString() do?
testExceptionIn_toString() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/internal/logging/MessageFormatterTest.java.
Where is testExceptionIn_toString() defined?
testExceptionIn_toString() is defined in common/src/test/java/io/netty/util/internal/logging/MessageFormatterTest.java at line 148.

Analyze Your Own Codebase

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

Try Supermodel Free