cxf-commits mailing list archives

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

URL: http://svn.apache.org/r1484410
Log:
Replacing Exception with Throwable in JAXRS client code: one more update for CL issues not
actually be reported as WAE causes

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=1484410&r1=1484409&r2=1484410&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:57:09 2013
@@ -456,7 +456,7 @@ public abstract class AbstractClient imp
             Constructor<?> ctr = exceptionClass.getConstructor(Response.class);
             return (WebApplicationException)ctr.newInstance(r);
         } catch (Throwable ex2) {
-            return new WebApplicationException(ex2, r);
+            return new WebApplicationException(r);
         }
     }
     



Mime
View raw message