From: remm Date: Mon, 26 Jun 2006 17:48:32 +0000 (+0000) Subject: - Catch everything, as any unexpected exception would kill the server. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=3af46e93954711bf76ca8bbc1bef1959d1c91177;p=tomcat7.0 - Catch everything, as any unexpected exception would kill the server. git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@417257 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/tomcat/util/net/NioEndpoint.java b/java/org/apache/tomcat/util/net/NioEndpoint.java index a3d1a48df..529988c66 100644 --- a/java/org/apache/tomcat/util/net/NioEndpoint.java +++ b/java/org/apache/tomcat/util/net/NioEndpoint.java @@ -1187,7 +1187,7 @@ public class NioEndpoint { int keyCount = 0; try { keyCount = selector.select(selectorTimeout); - } catch (IOException x) { + } catch (Throwable x) { log.error("",x); continue; }