I don't want to turn this into a checked vs non-checked debate.  But
I'm glad we are having this discussion, as I was recently reading a
checked vs non-checked article.  It was well thought out for the most
part but it argued that IOExceptions should not be checked because
when an error occurs "there is nothing you can do about it".  This
trivializes matters.  And sure, if your socket gets closed or someone
unplugs their USB stick, sure there may not be much you can do about
it.  But to claim the exception should just bubble up to bash ignores
the kinds of resource allocation issues we are discussing here.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to