cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r755498 - /cxf/trunk/rt/transports/jbi/src/main/java/org/apache/cxf/transport/jbi/JBIConduitOutputStream.java
Date Wed, 18 Mar 2009 07:18:04 GMT
Author: ffang
Date: Wed Mar 18 07:18:03 2009
New Revision: 755498

URL: http://svn.apache.org/viewvc?rev=755498&view=rev
Log:
[CXF-2115]refactor JBIConduitOutputStream exception handle

Modified:
    cxf/trunk/rt/transports/jbi/src/main/java/org/apache/cxf/transport/jbi/JBIConduitOutputStream.java

Modified: cxf/trunk/rt/transports/jbi/src/main/java/org/apache/cxf/transport/jbi/JBIConduitOutputStream.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/jbi/src/main/java/org/apache/cxf/transport/jbi/JBIConduitOutputStream.java?rev=755498&r1=755497&r2=755498&view=diff
==============================================================================
--- cxf/trunk/rt/transports/jbi/src/main/java/org/apache/cxf/transport/jbi/JBIConduitOutputStream.java
(original)
+++ cxf/trunk/rt/transports/jbi/src/main/java/org/apache/cxf/transport/jbi/JBIConduitOutputStream.java
Wed Mar 18 07:18:03 2009
@@ -164,8 +164,7 @@
         } catch (IOException e) {
             throw e;
         } catch (Exception e) {
-            e.printStackTrace();
-            new IOException(e.toString());
+            throw new RuntimeException(e.toString());
         }
     }
 



Mime
View raw message