Menu

#8 IllegalArgumentEx -> IllegalStateEx

open
nobody
None
5
2003-02-01
2003-02-01
No

I was a bit nonplussed when I received an IllegalArgumentException on my call to ATcpConnection.startReader(...). Looking at the source revealed that this exception wasn't caused by an incorrect argument but rather by the object being in the wrong state.

Attached is a patch to fix a few of these occurrences in the aSocket library. Can this fix be accepted in the mainline?

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.