cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1089252 - in /cxf/branches/2.3.x-fixes: ./ rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapTransportFactory.java
Date Tue, 05 Apr 2011 21:48:13 GMT
Author: dkulp
Date: Tue Apr  5 21:48:13 2011
New Revision: 1089252

URL: http://svn.apache.org/viewvc?rev=1089252&view=rev
Log:
Merged revisions 1089251 via svnmerge from 
https://svn.apache.org/repos/asf/cxf/trunk

........
  r1089251 | dkulp | 2011-04-05 17:47:07 -0400 (Tue, 05 Apr 2011) | 1 line
  
  [CXF-3117] Throw a better exception from  SoapTransportFactory
........

Modified:
    cxf/branches/2.3.x-fixes/   (props changed)
    cxf/branches/2.3.x-fixes/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapTransportFactory.java

Propchange: cxf/branches/2.3.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: cxf/branches/2.3.x-fixes/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapTransportFactory.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.3.x-fixes/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapTransportFactory.java?rev=1089252&r1=1089251&r2=1089252&view=diff
==============================================================================
--- cxf/branches/2.3.x-fixes/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapTransportFactory.java
(original)
+++ cxf/branches/2.3.x-fixes/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapTransportFactory.java
Tue Apr  5 21:48:13 2011
@@ -131,8 +131,9 @@ public class SoapTransportFactory extend
             }
             return destinationFactory.getDestination(ei);
         } catch (BusException e) {
-            throw new RuntimeException("Could not find destination factory for transport
"
-                                       + transId);
+            IOException ex = new IOException("Could not find destination factory for transport
" + transId);
+            ex.initCause(e);
+            throw ex;
         }
     }
 



Mime
View raw message