Top Description Fields Constructors Methods
io.netty.channel.group

public Class ChannelGroupException

extends ChannelException
implements Iterable<Map.Entry<Channel, Throwable>>
Class Inheritance
All Implemented Interfaces
java.lang.Iterable
Imports
io.netty.channel.Channel, .ChannelException, .ChannelFuture, io.netty.util.internal.ObjectUtil, java.util.Collection, .Collections, .Iterator, .Map

ChannelException which holds ChannelFutures that failed because of an error.

Field Summary

Modifier and TypeField and Description
private final Collection<Map.Entry<Channel, Throwable>>
private static final long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Iterator<Map.Entry<Channel, Throwable>>
iterator()

Implements java.lang.Iterable.iterator.

Returns a Iterator which contains all the Throwable that was a cause of the failure and the related id of the Channel.

Field Detail

failedback to summary
private final Collection<Map.Entry<Channel, Throwable>> failed
serialVersionUIDback to summary
private static final long serialVersionUID

Hides io.netty.channel.ChannelException.serialVersionUID.

Constructor Detail

ChannelGroupExceptionback to summary
public ChannelGroupException(Collection<Map.Entry<Channel, Throwable>> causes)

Method Detail

iteratorback to summary
public Iterator<Map.Entry<Channel, Throwable>> iterator()

Implements java.lang.Iterable.iterator.

Returns a Iterator which contains all the Throwable that was a cause of the failure and the related id of the Channel.

Returns:Iterator<Map.Entry<Channel, Throwable>>

Doc from java.lang.Iterable.iterator.

an Iterator.

Annotations
@Override