For an unknown reason a different exception is raised in NioWorker.read()

This commit is contained in:
Trustin Lee 2010-01-28 03:24:09 +00:00
parent e9b8f6b2d7
commit c8d5f1ab4a

View File

@ -337,7 +337,7 @@ class NioWorker implements Runnable {
directBuffer.flip();
buffer.writeBytes(directBuffer);
failure = false;
} catch (AsynchronousCloseException e) {
} catch (ClosedChannelException e) {
// Can happen, and does not need a user attention.
} catch (Throwable t) {
fireExceptionCaught(channel, t);