ReadTimeoutException and WriteTimeoutException must extend TimeoutException
This commit is contained in:
parent
6170cf8cc6
commit
a18a070b60
@ -22,14 +22,13 @@
|
||||
*/
|
||||
package org.jboss.netty.handler.timeout;
|
||||
|
||||
import org.jboss.netty.channel.ChannelException;
|
||||
|
||||
/**
|
||||
* @author The Netty Project (netty-dev@lists.jboss.org)
|
||||
* @author Trustin Lee (tlee@redhat.com)
|
||||
* @version $Rev$, $Date$
|
||||
*/
|
||||
public class ReadTimeoutException extends ChannelException {
|
||||
public class ReadTimeoutException extends TimeoutException {
|
||||
|
||||
private static final long serialVersionUID = -4596059237992273913L;
|
||||
|
||||
|
@ -22,14 +22,13 @@
|
||||
*/
|
||||
package org.jboss.netty.handler.timeout;
|
||||
|
||||
import org.jboss.netty.channel.ChannelException;
|
||||
|
||||
/**
|
||||
* @author The Netty Project (netty-dev@lists.jboss.org)
|
||||
* @author Trustin Lee (tlee@redhat.com)
|
||||
* @version $Rev$, $Date$
|
||||
*/
|
||||
public class WriteTimeoutException extends ChannelException {
|
||||
public class WriteTimeoutException extends TimeoutException {
|
||||
|
||||
private static final long serialVersionUID = -7746685254523245218L;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user