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 holds ChannelFutures that failed because of an error.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final java.util.Collection<java.util.Map.Entry<Channel, java.lang.Throwable>>
     
    private static final long
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ChannelGroupException(java.util.Collection<java.util.Map.Entry<Channel, java.lang.Throwable>> causes)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    java.util.Iterator<java.util.Map.Entry<Channel, java.lang.Throwable>>
    Returns a Iterator which contains all the Throwable that was a cause of the failure and the related id of the Channel.

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • failed

      private final java.util.Collection<java.util.Map.Entry<Channel, java.lang.Throwable>> failed
  • Constructor Details

    • ChannelGroupException

      public ChannelGroupException(java.util.Collection<java.util.Map.Entry<Channel, java.lang.Throwable>> causes)
  • Method Details

    • iterator

      public java.util.Iterator<java.util.Map.Entry<Channel, java.lang.Throwable>> iterator()
      Returns a Iterator which contains all the Throwable that was a cause of the failure and the related id of the Channel.
      Specified by:
      iterator in interface java.lang.Iterable<java.util.Map.Entry<Channel, java.lang.Throwable>>