ReadTimeoutException and WriteTimeoutException must extend TimeoutException

This commit is contained in:
Trustin Lee 2009-04-09 07:27:41 +00:00
parent 6170cf8cc6
commit a18a070b60
2 changed files with 2 additions and 4 deletions

View File

@ -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;

View File

@ -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;