1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-17 04:32:04 +01:00

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
This commit is contained in:
Florian Schmaus 2013-10-09 11:54:03 +00:00 committed by flow
parent 7543c896c2
commit 9a7bf4a4c3

View file

@ -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;