You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by fh...@apache.org on 2011/03/01 19:24:03 UTC
svn commit: r1075964 -
/tomcat/trunk/java/org/apache/tomcat/util/net/SecureNioChannel.java
Author: fhanik
Date: Tue Mar 1 18:24:03 2011
New Revision: 1075964
URL: http://svn.apache.org/viewvc?rev=1075964&view=rev
Log:
propagate all exceptions through IOExceptions
Modified:
tomcat/trunk/java/org/apache/tomcat/util/net/SecureNioChannel.java
Modified: tomcat/trunk/java/org/apache/tomcat/util/net/SecureNioChannel.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/SecureNioChannel.java?rev=1075964&r1=1075963&r2=1075964&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/net/SecureNioChannel.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/SecureNioChannel.java Tue Mar 1 18:24:03 2011
@@ -253,11 +253,15 @@ public class SecureNioChannel extends Ni
}
}
}
+ } catch (IOException x) {
+ throw x;
+ } catch (Exception cx) {
+ IOException x = new IOException(cx);
+ throw x;
} finally {
if (key!=null) try {key.cancel();} catch (Exception ignore) {}
if (selector!=null) try {selector.close();} catch (Exception ignore) {}
}
-
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org