cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: Minor update to the JAX-RS Client
Date Mon, 14 Nov 2016 11:16:37 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes d1b2a3d0a -> 561390f1f


Minor update to the JAX-RS Client


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/561390f1
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/561390f1
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/561390f1

Branch: refs/heads/3.1.x-fixes
Commit: 561390f1fd505d9dd6dc79873f2902a6449db53c
Parents: d1b2a3d
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Mon Nov 14 11:14:58 2016 +0000
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Mon Nov 14 11:16:18 2016 +0000

----------------------------------------------------------------------
 .../src/main/java/org/apache/cxf/jaxrs/client/AbstractClient.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/561390f1/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/AbstractClient.java
----------------------------------------------------------------------
diff --git a/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/AbstractClient.java b/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/AbstractClient.java
index 3139934..82e30a6 100644
--- a/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/AbstractClient.java
+++ b/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/AbstractClient.java
@@ -591,7 +591,7 @@ public abstract class AbstractClient implements Client {
             || actualEx instanceof IOException 
                 && outMessage.getExchange().get("client.redirect.exception") != null)
{
             if (actualEx instanceof ProcessingException) {
-                throw ex;
+                throw (ProcessingException)actualEx;
             } else if (actualEx != null) {
                 throw new ProcessingException(actualEx);
             } else if (!outMessage.getExchange().isOneWay() || cfg.isResponseExpectedForOneway())
{


Mime
View raw message