cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1484408 - /cxf/trunk/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/AbstractClient.java
Date Mon, 20 May 2013 09:42:45 GMT
Author: sergeyb
Date: Mon May 20 09:42:45 2013
New Revision: 1484408

URL: http://svn.apache.org/r1484408
Log:
Replacing Exception with Throwable in JAXRS client code to get another 1.1 and 2.0 API mix-up
issue handled

Modified:
    cxf/trunk/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/AbstractClient.java

Modified: cxf/trunk/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/AbstractClient.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/AbstractClient.java?rev=1484408&r1=1484407&r2=1484408&view=diff
==============================================================================
--- cxf/trunk/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/AbstractClient.java (original)
+++ cxf/trunk/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/AbstractClient.java Mon
May 20 09:42:45 2013
@@ -455,7 +455,7 @@ public abstract class AbstractClient imp
         try {
             Constructor<?> ctr = exceptionClass.getConstructor(Response.class);
             return (WebApplicationException)ctr.newInstance(r);
-        } catch (Exception ex2) {
+        } catch (Throwable ex2) {
             return new WebApplicationException(ex2, r);
         }
     }



Mime
View raw message