tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject svn commit: r535035 - /tomcat/tc6.0.x/trunk/java/org/apache/catalina/connector/CoyoteAdapter.java
Date Fri, 04 May 2007 00:04:39 GMT
Author: remm
Date: Thu May  3 17:04:39 2007
New Revision: 535035

URL: http://svn.apache.org/viewvc?view=rev&rev=535035
Log:
- Use the better IOException type (any other exception is totally unexpected).

Modified:
    tomcat/tc6.0.x/trunk/java/org/apache/catalina/connector/CoyoteAdapter.java

Modified: tomcat/tc6.0.x/trunk/java/org/apache/catalina/connector/CoyoteAdapter.java
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/catalina/connector/CoyoteAdapter.java?view=diff&rev=535035&r1=535034&r2=535035
==============================================================================
--- tomcat/tc6.0.x/trunk/java/org/apache/catalina/connector/CoyoteAdapter.java (original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/catalina/connector/CoyoteAdapter.java Thu May  3
17:04:39 2007
@@ -132,7 +132,7 @@
                             if (request.read()) {
                                 read = true;
                             }
-                        } catch (Exception e) {
+                        } catch (IOException e) {
                             error = true;
                         }
                         if (read) {



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message