You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by se...@apache.org on 2016/11/14 11:15:22 UTC
cxf git commit: Minor update to the JAX-RS Client
Repository: cxf
Updated Branches:
refs/heads/master a2557360f -> b6070adfc
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/b6070adf
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/b6070adf
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/b6070adf
Branch: refs/heads/master
Commit: b6070adfc5c53f0b7be69c4d1e7d92def868e7a2
Parents: a255736
Author: Sergey Beryozkin <sb...@gmail.com>
Authored: Mon Nov 14 11:14:58 2016 +0000
Committer: Sergey Beryozkin <sb...@gmail.com>
Committed: Mon Nov 14 11:14:58 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/b6070adf/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()) {