On Tue, Apr 02, 2013 at 05:47:30PM +0200, Lars T. Kyllingstad wrote: [...] > I have thought some more about it, and a basic serial comms error > should probably be an IOException. An error in a higher-level serial > protocol, on the other hand, would be a NetworkException, and then the > name doesn't suck so much. CommException may still be better though, > or maybe ProtocolException. [...]
ProtocolException sounds like a low-level TCP or IP exception. I think NetworkException is still the best name, not overly specific, not overly generic. CommException sounds a bit too vague to me. T -- What are you when you run out of Monet? Baroque.
