BlockingReadTimeoutException should extend InterruptedIOException just like SocketTimeoutException does
This commit is contained in:
parent
2685d03d8f
commit
7894784ea9
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user