netty5/transport/src/test/java/io/netty/channel
Norman Maurer f176384a72
Include the original Exception that caused the Channel to be closed in the ClosedChannelException (#8863)
Motivation:

To make it easier to understand why a Channel was closed previously and so why the operation failed with a ClosedChannelException we should include the original Exception.

Modifications:

- Store the original exception that lead to the closed Channel and include it in the ClosedChannelException that is used to fail the operation.
- Add unit test

Result:

Fixes https://github.com/netty/netty/issues/8862.
2019-02-15 13:13:17 -08:00
..
embedded Correctly run all pending tasks for EmbeddedChannel when the Channel was closed. 2017-07-30 06:57:18 +02:00
group fix the typos 2017-04-20 04:56:09 +02:00
local Fix race in ChannelReadHandler used during LocalChannel testing. (#7904) 2018-05-04 07:36:33 +02:00
nio Recover from Selector IOException (#8569) 2018-11-19 07:41:43 +01:00
oio More graceful registration failure 2013-12-21 18:08:58 +09:00
pool Improved error message in FixedChannelPool 2017-11-13 20:29:07 +01:00
socket/nio Workaround JDK bug that will cause an AssertionError when calling ServerSocketChannel.config().getOptions(). (#8183) 2018-08-09 13:11:08 +02:00
AbstractChannelTest.java Include the original Exception that caused the Channel to be closed in the ClosedChannelException (#8863) 2019-02-15 13:13:17 -08:00
AbstractEventLoopTest.java [#4241] Ensure NioEventLoopGroup.shutdownGracefully(...) with no quiet period shutdown as fast as expected. 2016-08-05 07:21:17 +02:00
AdaptiveRecvByteBufAllocatorTest.java AdaptiveRecvByteBufAllocator should ramp up while reading 2017-12-03 17:25:31 -08:00
BaseChannelTest.java Revert "[#5028] Fix re-entrance issue with channelWritabilityChanged(...) and write(...)" 2016-04-09 20:32:47 +02:00
ChannelInitializerTest.java Fix flaky ChannelInitializerTest.testChannelInitializerEventExecutor() (#8738) 2019-01-21 09:01:04 +01:00
ChannelOptionTest.java Allow to get existing ChannelOption / AttributeKey from String 2015-02-18 09:29:37 +01:00
ChannelOutboundBufferTest.java Fix racy ChannelOutboundBuffer.testWriteTaskRejected test. (#8735) 2019-01-19 17:17:03 +01:00
CoalescingBufferQueueTest.java AbstractCoalescingBufferQueue addFirst void promise handling 2017-11-07 11:33:53 -08:00
CombinedChannelDuplexHandlerTest.java fix the typos 2017-04-20 04:56:09 +02:00
CompleteChannelFutureTest.java Only use Mockito for mocking. 2017-02-07 08:47:22 +01:00
DefaultChannelIdTest.java ByteBuf Input Stream Reference Count Ownership 2016-11-14 16:29:55 -08:00
DefaultChannelPipelineTailTest.java Update to new checkstyle plugin (#8777) (#8780) 2019-01-25 11:58:42 +01:00
DefaultChannelPipelineTest.java Release message when validation of passed in ChannelPromise fails when calling write(...) / writeAndFlush(...) (#8769) 2019-01-24 07:43:04 +01:00
DefaultChannelPromiseTest.java Fail fast when DefaultChannelPromise is constructed with null as Channel. 2018-01-18 18:57:42 +00:00
DelegatingChannelPromiseNotifierTest.java Make DelegatingChannelPromiseNotifier use Vararg overload 2017-07-28 07:29:43 +02:00
FailedChannelFutureTest.java Only use Mockito for mocking. 2017-02-07 08:47:22 +01:00
LoggingHandler.java Fix most inspector warnings 2014-07-02 19:55:07 +09:00
PendingWriteQueueTest.java PendingWriteQueue to handle write operations with void future 2018-03-16 08:23:40 +01:00
ReentrantChannelTest.java fix the typos 2017-04-20 04:56:09 +02:00
SimpleUserEventChannelHandlerTest.java Create SimpleUserEventChannelHandler convenience class (#7991) 2018-06-29 08:25:23 +02:00
SingleThreadEventLoopTest.java SingleThreadEventLoopTest failures 2016-10-11 09:09:53 +02:00
SucceededChannelFutureTest.java Only use Mockito for mocking. 2017-02-07 08:47:22 +01:00
ThreadPerChannelEventLoopGroupTest.java Add a EventLoopGroup.register(ChannelPromise) 2016-05-21 18:40:17 +02:00