You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2013/10/12 12:48:06 UTC

[2/5] git commit: CAMEL-6828: Fixed swalling caused exception.

CAMEL-6828: Fixed swalling caused exception.


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/0ecc2f14
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/0ecc2f14
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/0ecc2f14

Branch: refs/heads/camel-2.12.x
Commit: 0ecc2f14c52e35a62a4b3443e319b2d6afcd1c01
Parents: bc71c55
Author: Claus Ibsen <da...@apache.org>
Authored: Sat Oct 12 12:28:53 2013 +0200
Committer: Claus Ibsen <da...@apache.org>
Committed: Sat Oct 12 12:29:17 2013 +0200

----------------------------------------------------------------------
 .../org/apache/camel/component/jetty/JettyContentExchange.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/0ecc2f14/components/camel-jetty/src/main/java/org/apache/camel/component/jetty/JettyContentExchange.java
----------------------------------------------------------------------
diff --git a/components/camel-jetty/src/main/java/org/apache/camel/component/jetty/JettyContentExchange.java b/components/camel-jetty/src/main/java/org/apache/camel/component/jetty/JettyContentExchange.java
index 48639f8..c9ef129 100644
--- a/components/camel-jetty/src/main/java/org/apache/camel/component/jetty/JettyContentExchange.java
+++ b/components/camel-jetty/src/main/java/org/apache/camel/component/jetty/JettyContentExchange.java
@@ -199,7 +199,7 @@ public class JettyContentExchange extends ContentExchange {
             } else {
                 // some kind of other error
                 if (exchange.getException() != null) {
-                    exchange.setException(new CamelExchangeException("JettyClient failed with state " + exchangeState, exchange));
+                    exchange.setException(new CamelExchangeException("JettyClient failed with state " + exchangeState, exchange, exchange.getException()));
                 }
             }
         } finally {