Netty - An exceptionCaught() event was fired, and it reached at the tail of the pipeline
<p>I got this warning in my log:</p>

<pre><code>Nov 02, 2016 12:07:20 AM io.netty.channel.DefaultChannelPipeline onUnhandledInboundException
WARNUNG: An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.
java.util.concurrent.TimeoutException
</code></pre>

<p>That are my ChannelHandlers:</p>

<pre><code>@Override
public void initChannel(SocketChannel ch) throws Exception {
    ch.pipeline().addLast(new LengthFieldBasedFrameDecoder(Integer.MAX_VALUE, 0, 4, 0, 4));
    ch.pipeline().addLast(new TimeoutHandler(TIME_OUT_SECONDS));
    ch.pipeline().addLast(new ServerCommunicationHandler(messageHandler));
}
</code></pre>

<p>My TimeoutHandler throws a TimeoutException if there was no read for the last 15 seconds.
And in my last handler, the ServerCommunicationHandler, i have overridden the exeptionCaught function:</p>

<pre><code>@Override
public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) {
    ctx.close();
}
</code></pre>

<p>So if i understand right, i do not rethrow the exception to the end of the pipeline, because my last handler processes the exception correctly, doesn't it?</p>

<p>Why do i get this warning?</p>

<p>I use Netty 4.1.6.Final</p>