when I try to log in my account, if I set a wrong password (for example), an XMPPException is raised. I would like to get an error code which I could translate into a corresponding message that I wrote myself.
(En) “You set a wrong password or user id”
(Fr) “Votre identifiant ou mot de passe est erroné”
The problem is that, when I “catch” the XMPPException, XMPPException.getStreamError() and XMPPException.getXMPPError() both return “null”! Therefore, I can’t get any error code. How is it possible?