Misleading signature for Chat.sendMessage()?

Chat.sendMessage() declares a checked XMPPException, but in 3.0.4 it can’'t throw one. If I trace through, there area a couple of unchecked exceptions it can throw (IllegalState, NullPointer). This seems the worst of both worlds – having to handle an unthrown exception but not knowing what can be thrown

It looks to me like the ConnectionListener is supposed to be the place to handle this sort of thing.

Comments? Can we make an Issue of this?

S.