cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1068525 - /cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/AbstractJAXRSFactoryBean.java
Date Tue, 08 Feb 2011 19:03:04 GMT
Author: sergeyb
Date: Tue Feb  8 19:03:04 2011
New Revision: 1068525

URL: http://svn.apache.org/viewvc?rev=1068525&view=rev
Log:
[CXF-3021] Minor update to the AbstractJAXRSFactoryBean to avoid hidden loader exceptions
in the absence of wsdl4j

Modified:
    cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/AbstractJAXRSFactoryBean.java

Modified: cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/AbstractJAXRSFactoryBean.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/AbstractJAXRSFactoryBean.java?rev=1068525&r1=1068524&r2=1068525&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/AbstractJAXRSFactoryBean.java
(original)
+++ cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/AbstractJAXRSFactoryBean.java
Tue Feb  8 19:03:04 2011
@@ -101,7 +101,7 @@ public class AbstractJAXRSFactoryBean ex
         BindingFactoryManager bfm = bus.getExtension(BindingFactoryManager.class);
         try {
             bfm.getBindingFactory(JAXRSBindingFactory.JAXRS_BINDING_ID);
-        } catch (BusException b) {
+        } catch (Throwable b) {
             //not registered, let's register one
             bfm.registerBindingFactory(JAXRSBindingFactory.JAXRS_BINDING_ID, 
                                        new JAXRSBindingFactory(bus));



Mime
View raw message