Home / Class/ AnnotatedSocketException Class — netty Architecture

AnnotatedSocketException Class — netty Architecture

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

Entity Profile

Dependency Diagram

graph TD
  0085b953_a06e_a310_7ad1_838d26a0ec09["AnnotatedSocketException"]
  2f45d36a_a64d_2e11_9b5d_198acbea865d["AbstractChannel.java"]
  0085b953_a06e_a310_7ad1_838d26a0ec09 -->|defined in| 2f45d36a_a64d_2e11_9b5d_198acbea865d
  b7907c8a_49fd_0514_4a6e_8060bfa5c9a8["AnnotatedSocketException()"]
  0085b953_a06e_a310_7ad1_838d26a0ec09 -->|method| b7907c8a_49fd_0514_4a6e_8060bfa5c9a8
  1db67cf8_49ca_6c36_d3f5_a1fd71665ad1["Throwable()"]
  0085b953_a06e_a310_7ad1_838d26a0ec09 -->|method| 1db67cf8_49ca_6c36_d3f5_a1fd71665ad1

Relationship Graph

Source Code

transport/src/main/java/io/netty/channel/AbstractChannel.java lines 1080–1094

    private static final class AnnotatedSocketException extends SocketException {

        private static final long serialVersionUID = 3896743275010454039L;

        AnnotatedSocketException(SocketException 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 AnnotatedSocketException class?
AnnotatedSocketException is a class in the netty codebase, defined in transport/src/main/java/io/netty/channel/AbstractChannel.java.
Where is AnnotatedSocketException defined?
AnnotatedSocketException is defined in transport/src/main/java/io/netty/channel/AbstractChannel.java at line 1080.

Analyze Your Own Codebase

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

Try Supermodel Free