less verbose exception

This commit is contained in:
Greg Wilkins 2013-03-04 16:22:03 +11:00
parent 7d7769475c
commit 8933a8bdca
1 changed files with 5 additions and 0 deletions

View File

@ -21,6 +21,7 @@ package org.eclipse.jetty.server;
import java.io.IOException;
import java.io.InterruptedIOException;
import java.nio.ByteBuffer;
import java.nio.channels.ClosedChannelException;
import java.util.concurrent.RejectedExecutionException;
import java.util.concurrent.TimeoutException;
@ -447,6 +448,10 @@ public class HttpConnection extends AbstractConnection implements Runnable, Http
{
throw new IOException(e);
}
catch (ClosedChannelException e)
{
throw new EofException(e);
}
}
@Override