Export to GitHub

asmack - issue #8

Throw a subclass of XmppException when authentication fails because of wrong credentials


Posted on Apr 14, 2010 by Happy Monkey

At the moment it's only possible to determine cause of authentication failure is via inspecting exception message. This is a bit inconvenient. Throwing a specific subclass of XmppException makes more sense.

On these devices authentication often fails beacuse of network failure, timeout or similar results. Hence it's more (compared to desktop version) important to correctly determine failure reason and take proper action. For example warn the user his credentials are wrong.

Comment #1

Posted on May 3, 2010 by Grumpy Rhino

(No comment was entered for this change.)

Status: New

Labels:
Type-Enhancement Priority-Medium