Listeners will be preserved from a previous connection if the reconnection occurs after an abrupt termination. @throws XMPPException if an error occurs while trying to establish the connection.Two possible errors can occur which will be wrapped by an XMPPException -- UnknownHostException (XMPP error code 504), and IOException (XMPP error code 502). The error codes and wrapped exceptions can be used to present more appropiate error messages to end-users.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|