cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amic...@apache.org
Subject svn commit: r1502020 - /cxf/dosgi/trunk/dsw/cxf-dsw/src/main/java/org/apache/cxf/dosgi/dsw/handlers/AbstractPojoConfigurationTypeHandler.java
Date Wed, 10 Jul 2013 21:41:40 GMT
Author: amichai
Date: Wed Jul 10 21:41:40 2013
New Revision: 1502020

URL: http://svn.apache.org/r1502020
Log:
Remove catch clause that can no longer occur

Modified:
    cxf/dosgi/trunk/dsw/cxf-dsw/src/main/java/org/apache/cxf/dosgi/dsw/handlers/AbstractPojoConfigurationTypeHandler.java

Modified: cxf/dosgi/trunk/dsw/cxf-dsw/src/main/java/org/apache/cxf/dosgi/dsw/handlers/AbstractPojoConfigurationTypeHandler.java
URL: http://svn.apache.org/viewvc/cxf/dosgi/trunk/dsw/cxf-dsw/src/main/java/org/apache/cxf/dosgi/dsw/handlers/AbstractPojoConfigurationTypeHandler.java?rev=1502020&r1=1502019&r2=1502020&view=diff
==============================================================================
--- cxf/dosgi/trunk/dsw/cxf-dsw/src/main/java/org/apache/cxf/dosgi/dsw/handlers/AbstractPojoConfigurationTypeHandler.java
(original)
+++ cxf/dosgi/trunk/dsw/cxf-dsw/src/main/java/org/apache/cxf/dosgi/dsw/handlers/AbstractPojoConfigurationTypeHandler.java
Wed Jul 10 21:41:40 2013
@@ -180,13 +180,7 @@ public abstract class AbstractPojoConfig
     }
 
     protected String getServerAddress(Map<String, Object> sd, Class<?> iClass)
{
-        String address;
-        try {
-            address = getClientAddress(sd);
-        } catch (RuntimeException e) {
-            LOG.error(e.getMessage(), e);
-            return null;
-        }
+        String address = getClientAddress(sd);
         return address == null ? httpServiceManager.getDefaultAddress(iClass) : address;
     }
 



Mime
View raw message