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: [email protected]
For additional commands, e-mail: [email protected]