- Catch everything, as any unexpected exception would kill the server.
authorremm <remm@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 26 Jun 2006 17:48:32 +0000 (17:48 +0000)
committerremm <remm@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 26 Jun 2006 17:48:32 +0000 (17:48 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@417257 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/tomcat/util/net/NioEndpoint.java

index a3d1a48..529988c 100644 (file)
@@ -1187,7 +1187,7 @@ public class NioEndpoint {
                 int keyCount = 0;\r
                 try {\r
                     keyCount = selector.select(selectorTimeout);\r
-                } catch (IOException x) {\r
+                } catch (Throwable x) {\r
                     log.error("",x);\r
                     continue;\r
                 }\r