Home / Class/ ChannelGroupException Class — netty Architecture

ChannelGroupException Class — netty Architecture

Architecture documentation for the ChannelGroupException class in ChannelGroupException.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  f6815e69_4feb_cb17_09df_46501ad1898d["ChannelGroupException"]
  50c4f454_7672_8e04_af7f_f6e5b807280c["ChannelGroupException.java"]
  f6815e69_4feb_cb17_09df_46501ad1898d -->|defined in| 50c4f454_7672_8e04_af7f_f6e5b807280c
  802a9269_63b9_040b_cc0f_ab72ad5c9021["ChannelGroupException()"]
  f6815e69_4feb_cb17_09df_46501ad1898d -->|method| 802a9269_63b9_040b_cc0f_ab72ad5c9021
  40af5112_466a_f23c_6a22_cb7ea98ef0dc["iterator()"]
  f6815e69_4feb_cb17_09df_46501ad1898d -->|method| 40af5112_466a_f23c_6a22_cb7ea98ef0dc

Relationship Graph

Source Code

transport/src/main/java/io/netty/channel/group/ChannelGroupException.java lines 31–49

public class ChannelGroupException extends ChannelException implements Iterable<Map.Entry<Channel, Throwable>> {
    private static final long serialVersionUID = -4093064295562629453L;
    private final Collection<Map.Entry<Channel, Throwable>> failed;

    public ChannelGroupException(Collection<Map.Entry<Channel, Throwable>> causes) {
        ObjectUtil.checkNonEmpty(causes, "causes");

        failed = Collections.unmodifiableCollection(causes);
    }

    /**
     * Returns a {@link Iterator} which contains all the {@link Throwable} that was a cause of the failure and the
     * related id of the {@link Channel}.
     */
    @Override
    public Iterator<Map.Entry<Channel, Throwable>> iterator() {
        return failed.iterator();
    }
}

Frequently Asked Questions

What is the ChannelGroupException class?
ChannelGroupException is a class in the netty codebase, defined in transport/src/main/java/io/netty/channel/group/ChannelGroupException.java.
Where is ChannelGroupException defined?
ChannelGroupException is defined in transport/src/main/java/io/netty/channel/group/ChannelGroupException.java at line 31.

Analyze Your Own Codebase

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

Try Supermodel Free