Home / Class/ AnnotatedConnectException Class — netty Architecture

AnnotatedConnectException Class — netty Architecture

Architecture documentation for the AnnotatedConnectException class in AbstractChannel.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  e4c0ae5d_abbe_ae6f_6a5e_bf0110ff0dd8["AnnotatedConnectException"]
  2f45d36a_a64d_2e11_9b5d_198acbea865d["AbstractChannel.java"]
  e4c0ae5d_abbe_ae6f_6a5e_bf0110ff0dd8 -->|defined in| 2f45d36a_a64d_2e11_9b5d_198acbea865d
  0c9f9fba_f98c_424a_c366_72b858191031["AnnotatedConnectException()"]
  e4c0ae5d_abbe_ae6f_6a5e_bf0110ff0dd8 -->|method| 0c9f9fba_f98c_424a_c366_72b858191031
  f8d10223_99cf_b7b6_7400_18c2416ca9ee["Throwable()"]
  e4c0ae5d_abbe_ae6f_6a5e_bf0110ff0dd8 -->|method| f8d10223_99cf_b7b6_7400_18c2416ca9ee

Relationship Graph

Source Code

transport/src/main/java/io/netty/channel/AbstractChannel.java lines 1048–1062

    private static final class AnnotatedConnectException extends ConnectException {

        private static final long serialVersionUID = 3901958112696433556L;

        AnnotatedConnectException(ConnectException exception, SocketAddress remoteAddress) {
            super(exception.getMessage() + ": " + remoteAddress);
            initCause(exception);
        }

        // Suppress a warning since this method doesn't need synchronization
        @Override
        public Throwable fillInStackTrace() {
            return this;
        }
    }

Frequently Asked Questions

What is the AnnotatedConnectException class?
AnnotatedConnectException is a class in the netty codebase, defined in transport/src/main/java/io/netty/channel/AbstractChannel.java.
Where is AnnotatedConnectException defined?
AnnotatedConnectException is defined in transport/src/main/java/io/netty/channel/AbstractChannel.java at line 1048.

Analyze Your Own Codebase

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

Try Supermodel Free