Home / Function/ Throwable() — netty Function Reference

Throwable() — netty Function Reference

Architecture documentation for the Throwable() function in ReflectionUtil.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  9a82bf1e_e7f1_ec4a_d974_807a5c397183["Throwable()"]
  256133bf_a518_6230_b946_c6d646a25eb5["ReflectionUtil"]
  9a82bf1e_e7f1_ec4a_d974_807a5c397183 -->|defined in| 256133bf_a518_6230_b946_c6d646a25eb5
  style 9a82bf1e_e7f1_ec4a_d974_807a5c397183 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/internal/ReflectionUtil.java lines 34–46

    public static Throwable trySetAccessible(AccessibleObject object, boolean checkAccessible) {
        if (checkAccessible && !PlatformDependent0.isExplicitTryReflectionSetAccessible()) {
            return new UnsupportedOperationException("Reflective setAccessible(true) disabled");
        }
        try {
            object.setAccessible(true);
            return null;
        } catch (SecurityException e) {
            return e;
        } catch (RuntimeException e) {
            return handleInaccessibleObjectException(e);
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does Throwable() do?
Throwable() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/internal/ReflectionUtil.java.
Where is Throwable() defined?
Throwable() is defined in common/src/main/java/io/netty/util/internal/ReflectionUtil.java at line 34.

Analyze Your Own Codebase

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

Try Supermodel Free