Class Http2Exception.CompositeStreamException
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.netty.handler.codec.http2.Http2Exception
io.netty.handler.codec.http2.Http2Exception.CompositeStreamException
- All Implemented Interfaces:
Serializable, Iterable<Http2Exception.StreamException>
- Enclosing class:
Http2Exception
public static final class Http2Exception.CompositeStreamException
extends Http2Exception
implements Iterable<Http2Exception.StreamException>
Provides the ability to handle multiple stream exceptions with one throw statement.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class Http2Exception
Http2Exception.ClosedStreamCreationException, Http2Exception.CompositeStreamException, Http2Exception.HeaderListSizeException, Http2Exception.ShutdownHint, Http2Exception.StreamException -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Http2Exception
closedStreamError, connectionError, connectionError, error, headerListSizeError, isStreamError, shutdownHint, streamError, streamError, streamIdMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Iterable
forEach, spliterator
-
Constructor Details
-
CompositeStreamException
-
-
Method Details
-
add
-
iterator
- Specified by:
iteratorin interfaceIterable<Http2Exception.StreamException>
-