mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-30 02:02:06 +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:
parent
7543c896c2
commit
9a7bf4a4c3
1 changed files with 1 additions and 1 deletions
|
@ -597,7 +597,7 @@ public class XMPPConnection extends Connection {
|
||||||
else {
|
else {
|
||||||
xmppError = new XMPPError(XMPPError.Condition.remote_server_timeout);
|
xmppError = new XMPPError(XMPPError.Condition.remote_server_timeout);
|
||||||
}
|
}
|
||||||
throw new XMPPException(sb.toString(), xmppError);
|
throw new XMPPException(sb.toString(), xmppError, exception);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
socketClosed = false;
|
socketClosed = false;
|
||||||
|
|
Loading…
Reference in a new issue