I've seen it stated in a couple of threads in the
SCJD Forum on this site (and also, I think, in Max Habibi's SCJD book) that swallowing exceptions is always a
and bad developers will be condemned to eternal damnation (or some other spotty dog
).
My question is, what is wrong with code like the example below, when you're releasing some resource back to the environment, possibly just before shutdown, and you really don't care if it makes a little pop?
The only argument I can see in favour of doing
something is just to report (log, or whatever) the exception for the hell of it...
Any views?
Jules