rethrowIfFailed() — netty Function Reference
Architecture documentation for the rethrowIfFailed() function in DefaultPromise.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 69dd8d4b_da37_e046_6afd_f90cf5f3f440["rethrowIfFailed()"] a0080a71_f091_42e0_8a20_424f0bf9d34a["DefaultPromise"] 69dd8d4b_da37_e046_6afd_f90cf5f3f440 -->|defined in| a0080a71_f091_42e0_8a20_424f0bf9d34a 45358ce9_3abf_c0c9_cb94_b21de525f9dc["sync()"] 45358ce9_3abf_c0c9_cb94_b21de525f9dc -->|calls| 69dd8d4b_da37_e046_6afd_f90cf5f3f440 9268e1f1_ed1a_2eec_4c48_bcd5c24473d1["syncUninterruptibly()"] 9268e1f1_ed1a_2eec_4c48_bcd5c24473d1 -->|calls| 69dd8d4b_da37_e046_6afd_f90cf5f3f440 style 69dd8d4b_da37_e046_6afd_f90cf5f3f440 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/main/java/io/netty/util/concurrent/DefaultPromise.java lines 679–689
private void rethrowIfFailed() {
Throwable cause = cause();
if (cause == null) {
return;
}
if (!(cause instanceof CancellationException) && cause.getSuppressed().length == 0) {
cause.addSuppressed(new CompletionException("Rethrowing promise failure cause", null));
}
PlatformDependent.throwException(cause);
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does rethrowIfFailed() do?
rethrowIfFailed() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/concurrent/DefaultPromise.java.
Where is rethrowIfFailed() defined?
rethrowIfFailed() is defined in common/src/main/java/io/netty/util/concurrent/DefaultPromise.java at line 679.
What calls rethrowIfFailed()?
rethrowIfFailed() is called by 2 function(s): sync, syncUninterruptibly.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free