BlockingReadTimeoutException should extend InterruptedIOException just like SocketTimeoutException does

This commit is contained in:
Trustin Lee 2009-12-07 06:23:22 +00:00
parent 2685d03d8f
commit 7894784ea9

View File

@ -16,6 +16,7 @@
package org.jboss.netty.handler.queue;
import java.io.IOException;
import java.io.InterruptedIOException;
/**
* A {@link IOException} raised by {@link BlockingReadHandler} when no data
@ -25,7 +26,7 @@ import java.io.IOException;
* @author Trustin Lee (trustin@gmail.com)
* @version $Rev$, $Date$
*/
public class BlockingReadTimeoutException extends IOException {
public class BlockingReadTimeoutException extends InterruptedIOException {
private static final long serialVersionUID = 356009226872649493L;