Package io.netty.channel.group
Class ChannelGroupException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.netty.channel.ChannelException
-
- io.netty.channel.group.ChannelGroupException
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Iterable<java.util.Map.Entry<Channel,java.lang.Throwable>>
public class ChannelGroupException extends ChannelException implements java.lang.Iterable<java.util.Map.Entry<Channel,java.lang.Throwable>>
ChannelException
which holdsChannelFuture
s that failed because of an error.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ChannelGroupException(java.util.Collection<java.util.Map.Entry<Channel,java.lang.Throwable>> causes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Iterator<java.util.Map.Entry<Channel,java.lang.Throwable>>
iterator()
Returns aIterator
which contains all theThrowable
that was a cause of the failure and the related id of theChannel
.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ChannelGroupException
public ChannelGroupException(java.util.Collection<java.util.Map.Entry<Channel,java.lang.Throwable>> causes)
-
-
Method Detail
-
iterator
public java.util.Iterator<java.util.Map.Entry<Channel,java.lang.Throwable>> iterator()
Returns aIterator
which contains all theThrowable
that was a cause of the failure and the related id of theChannel
.- Specified by:
iterator
in interfacejava.lang.Iterable<java.util.Map.Entry<Channel,java.lang.Throwable>>
-
-