ResourceLeakException Class — netty Architecture
Architecture documentation for the ResourceLeakException class in ResourceLeakException.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 1b4bd276_2fba_5778_36b7_55c78814886f["ResourceLeakException"] e51a28bc_396e_8c9b_0ddf_49db292490c8["ResourceLeakException.java"] 1b4bd276_2fba_5778_36b7_55c78814886f -->|defined in| e51a28bc_396e_8c9b_0ddf_49db292490c8 835db05f_0f38_2d52_7f81_04e3125deb47["ResourceLeakException()"] 1b4bd276_2fba_5778_36b7_55c78814886f -->|method| 835db05f_0f38_2d52_7f81_04e3125deb47 9f4b2cd3_26df_42f9_a49b_20ef78b7ee64["hashCode()"] 1b4bd276_2fba_5778_36b7_55c78814886f -->|method| 9f4b2cd3_26df_42f9_a49b_20ef78b7ee64 ae14f45d_57a4_37c9_9b69_368bbf729846["equals()"] 1b4bd276_2fba_5778_36b7_55c78814886f -->|method| ae14f45d_57a4_37c9_9b69_368bbf729846
Relationship Graph
Source Code
common/src/main/java/io/netty/util/ResourceLeakException.java lines 24–70
@Deprecated
public class ResourceLeakException extends RuntimeException {
private static final long serialVersionUID = 7186453858343358280L;
private final StackTraceElement[] cachedStackTrace;
public ResourceLeakException() {
cachedStackTrace = getStackTrace();
}
public ResourceLeakException(String message) {
super(message);
cachedStackTrace = getStackTrace();
}
public ResourceLeakException(String message, Throwable cause) {
super(message, cause);
cachedStackTrace = getStackTrace();
}
public ResourceLeakException(Throwable cause) {
super(cause);
cachedStackTrace = getStackTrace();
}
@Override
public int hashCode() {
int hashCode = 0;
for (StackTraceElement e: cachedStackTrace) {
hashCode = hashCode * 31 + e.hashCode();
}
return hashCode;
}
@Override
public boolean equals(Object o) {
if (!(o instanceof ResourceLeakException)) {
return false;
}
if (o == this) {
return true;
}
return Arrays.equals(cachedStackTrace, ((ResourceLeakException) o).cachedStackTrace);
}
}
Source
Frequently Asked Questions
What is the ResourceLeakException class?
ResourceLeakException is a class in the netty codebase, defined in common/src/main/java/io/netty/util/ResourceLeakException.java.
Where is ResourceLeakException defined?
ResourceLeakException is defined in common/src/main/java/io/netty/util/ResourceLeakException.java at line 24.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free