SINTEF-9012/bglib — pull request #12 by rasendubi (2014-08-29 11:31:46+00:00)
Title: Promote IOException in sendPacket()

When dongle is removed from computer, out.write() causes IOException to
be thrown, however sendPacket() catches it and doesn't give any feedback
for listeners or anybody else. That causes listeners to wait forever for
event that will never occur because message was not sent.

This patch promotes IOException as IOError to upper layers, so that
caller can handle it and react appropriately.