cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sea...@apache.org
Subject svn commit: r581191 - /incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/servlet/ServletController.java
Date Tue, 02 Oct 2007 11:11:47 GMT
Author: seanoc
Date: Tue Oct  2 04:11:47 2007
New Revision: 581191

URL: http://svn.apache.org/viewvc?rev=581191&view=rev
Log:
Changed from throwing exception to logging it in order to allow other QueryHandlers handle
the response.

Modified:
    incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/servlet/ServletController.java

Modified: incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/servlet/ServletController.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/servlet/ServletController.java?rev=581191&r1=581190&r2=581191&view=diff
==============================================================================
--- incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/servlet/ServletController.java
(original)
+++ incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/servlet/ServletController.java
Tue Oct  2 04:11:47 2007
@@ -132,7 +132,10 @@
                                 out.flush();
                                 return;
                             } catch (Exception e) {
-                                throw new ServletException(e);
+                                //throw new ServletException(e);
+                                LOG.warning(qh.getClass().getName() 
+                                    + " Exception caught writing response: " 
+                                    + e.getMessage());
                             }
                         }   
                     }



Mime
View raw message