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:17:36 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes e558d0588 -> f3cba4054


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/f3cba405
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/f3cba405
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/f3cba405

Branch: refs/heads/3.0.x-fixes
Commit: f3cba4054a5cc102053af74235d0526e41b75892
Parents: e558d05
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:17:13 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/f3cba405/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 f2e28af..d742acb 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
@@ -577,7 +577,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