Smack/core/src/test/java/org/jivesoftware/smack
Florian Schmaus fcc8414a92 "not connected" is now a checked Exception thrown by sendPacket()
There is a unsolveable race condition between the connection state and
sendPacket(), i.e. the connection could go down, right after the
method calling sendPacket is called, but before sendPacket() is
invoked. Before this change, sendPacket() has thrown an unchecked
IllegalStateException, which could be ignored by the Smack user, who
would also not notice the race condition. We have decided to throw a
checked Exception in this case now, to make the Smack user aware of
this situation.

SMACK-426
2014-03-19 15:56:41 +01:00
..
filters Remove deprecated constructor for FromMatchesFilter (SMACK-71) 2014-03-09 11:20:32 +01:00
packet Re-activate all ignored unit-tests 2014-03-10 22:41:34 +01:00
parsing Introduce SmackException 2014-03-14 01:46:42 +01:00
provider Move EntityCaps and Bookmarks API in correct package 2014-02-18 10:24:59 +01:00
test/util Substitute MXParser with a call to XmlPullParserFactory 2014-02-20 13:48:36 +01:00
util Re-activate all ignored unit-tests 2014-03-10 22:41:34 +01:00
ChatConnectionTest.java getInstanceFor() for ChatManager and AccountManager 2014-03-19 08:59:45 +01:00
DefaultRosterStoreTest.java Activate checkstyle and add missing license headers 2014-02-17 20:09:55 +01:00
DummyConnection.java "not connected" is now a checked Exception thrown by sendPacket() 2014-03-19 15:56:41 +01:00
PacketCollectorTest.java Renamed Connection to XMPPConnection 2014-03-10 09:45:50 +01:00
RosterTest.java Introduce SmackException 2014-03-14 01:46:42 +01:00
RosterVersioningTest.java Introduce SmackException 2014-03-14 01:46:42 +01:00
SmackConfigurationTest.java Improve packet send and result collecting API 2014-02-18 19:39:47 +01:00
ThreadedDummyConnection.java "not connected" is now a checked Exception thrown by sendPacket() 2014-03-19 15:56:41 +01:00