cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cschnei...@apache.org
Subject svn commit: r1429736 - /cxf/dosgi/trunk/dsw/cxf-dsw/src/main/java/org/apache/cxf/dosgi/dsw/service/RemoteServiceAdminCore.java
Date Mon, 07 Jan 2013 10:26:58 GMT
Author: cschneider
Date: Mon Jan  7 10:26:57 2013
New Revision: 1429736

URL: http://svn.apache.org/viewvc?rev=1429736&view=rev
Log:
Improve exception handling

Modified:
    cxf/dosgi/trunk/dsw/cxf-dsw/src/main/java/org/apache/cxf/dosgi/dsw/service/RemoteServiceAdminCore.java

Modified: cxf/dosgi/trunk/dsw/cxf-dsw/src/main/java/org/apache/cxf/dosgi/dsw/service/RemoteServiceAdminCore.java
URL: http://svn.apache.org/viewvc/cxf/dosgi/trunk/dsw/cxf-dsw/src/main/java/org/apache/cxf/dosgi/dsw/service/RemoteServiceAdminCore.java?rev=1429736&r1=1429735&r2=1429736&view=diff
==============================================================================
--- cxf/dosgi/trunk/dsw/cxf-dsw/src/main/java/org/apache/cxf/dosgi/dsw/service/RemoteServiceAdminCore.java
(original)
+++ cxf/dosgi/trunk/dsw/cxf-dsw/src/main/java/org/apache/cxf/dosgi/dsw/service/RemoteServiceAdminCore.java
Mon Jan  7 10:26:57 2013
@@ -122,8 +122,10 @@ public class RemoteServiceAdminCore impl
                     LOG.info("created server for interface " + iface);
                     EndpointDescription epd = new EndpointDescription(exportResult.getEndpointProps());
                     ExportRegistrationImpl exportRegistration = new ExportRegistrationImpl(serviceReference,
epd, this);
-                    if (exportRegistration.getException() == null) {
+                    if (exportResult.getException() == null) {
                         exportRegistration.startServiceTracker(bctx);
+                    } else {
+                        LOG.error(exportResult.getException().getMessage(), exportResult.getException());
                     }
                     exportRegs.put(iface, exportRegistration);
                 }



Mime
View raw message