Home / Class/ StacklessCancellationException Class — netty Architecture

StacklessCancellationException Class — netty Architecture

Architecture documentation for the StacklessCancellationException class in DefaultPromise.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  1cc595f1_2a69_0e12_8d46_9adb98b00233["StacklessCancellationException"]
  553612e1_e4b2_c7bc_4236_cde2274ee7aa["DefaultPromise.java"]
  1cc595f1_2a69_0e12_8d46_9adb98b00233 -->|defined in| 553612e1_e4b2_c7bc_4236_cde2274ee7aa
  32f60dbe_6286_56ea_a022_2f4e24e2bcc8["StacklessCancellationException()"]
  1cc595f1_2a69_0e12_8d46_9adb98b00233 -->|method| 32f60dbe_6286_56ea_a022_2f4e24e2bcc8
  78fa743b_e72e_ed97_192a_c6e723b44836["Throwable()"]
  1cc595f1_2a69_0e12_8d46_9adb98b00233 -->|method| 78fa743b_e72e_ed97_192a_c6e723b44836

Relationship Graph

Source Code

common/src/main/java/io/netty/util/concurrent/DefaultPromise.java lines 885–901

    private static final class StacklessCancellationException extends CancellationException {

        private static final long serialVersionUID = -2974906711413716191L;

        private StacklessCancellationException() { }

        // Override fillInStackTrace() so we not populate the backtrace via a native call and so leak the
        // Classloader.
        @Override
        public Throwable fillInStackTrace() {
            return this;
        }

        static StacklessCancellationException newInstance(Class<?> clazz, String method) {
            return ThrowableUtil.unknownStackTrace(new StacklessCancellationException(), clazz, method);
        }
    }

Frequently Asked Questions

What is the StacklessCancellationException class?
StacklessCancellationException is a class in the netty codebase, defined in common/src/main/java/io/netty/util/concurrent/DefaultPromise.java.
Where is StacklessCancellationException defined?
StacklessCancellationException is defined in common/src/main/java/io/netty/util/concurrent/DefaultPromise.java at line 885.

Analyze Your Own Codebase

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

Try Supermodel Free