cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1211547 - /cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapTransportFactory.java
Date Wed, 07 Dec 2011 17:25:30 GMT
Author: dkulp
Date: Wed Dec  7 17:25:30 2011
New Revision: 1211547

URL: http://svn.apache.org/viewvc?rev=1211547&view=rev
Log:
[CXF-3961] Better exception if conduit cannot be found

Modified:
    cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapTransportFactory.java

Modified: cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapTransportFactory.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapTransportFactory.java?rev=1211547&r1=1211546&r2=1211547&view=diff
==============================================================================
--- cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapTransportFactory.java
(original)
+++ cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapTransportFactory.java
Wed Dec  7 17:25:30 2011
@@ -225,6 +225,10 @@ public class SoapTransportFactory extend
             } else {
                 conduitInit = mgr.getConduitInitiatorForUri(address);
             }
+            if (conduitInit == null) {
+                throw new RuntimeException("Could not find conduit initiator for transport
"
+                        + transId);
+            }
             return conduitInit.getConduit(ei);
         } catch (BusException e) {
             throw new RuntimeException("Could not find conduit initiator for transport "



Mime
View raw message