From 9a7bf4a4c35ebad1c3a54b0da7a6ddeadbbb4966 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Wed, 9 Oct 2013 11:54:03 +0000 Subject: [PATCH] SMACK-456 Added the causing exception XMPPConnection.connectUsingConfiguraiton() does now add the causing exception to the throwed exception. git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_2@13765 b35dd754-fafc-0310-a699-88a17e54d16e --- source/org/jivesoftware/smack/XMPPConnection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/org/jivesoftware/smack/XMPPConnection.java b/source/org/jivesoftware/smack/XMPPConnection.java index 494b8b42c..5e3fd689f 100644 --- a/source/org/jivesoftware/smack/XMPPConnection.java +++ b/source/org/jivesoftware/smack/XMPPConnection.java @@ -597,7 +597,7 @@ public class XMPPConnection extends Connection { else { xmppError = new XMPPError(XMPPError.Condition.remote_server_timeout); } - throw new XMPPException(sb.toString(), xmppError); + throw new XMPPException(sb.toString(), xmppError, exception); } } socketClosed = false;