Checked exceptions are an idiomatic Java feature that has been questioned by many in the last years: throws clauses specify the possible errors raised by a method, and the calling code is forced to deal with them at compile-time, by wrapping the call into a...
7 replies - 4098 views - 01/31/12 by Giorgio Sironi in Articles
It seems, given my limited experience, that handling exceptions depends entirely on the context in which you are developing. As a fan of "rules" that can be applied to different scenarios I wanted to hit you guys up and see what the rules-of-thumb...
16 replies - 7729 views - 10/03/08 by Riyad Kalla in News
Exception handling via try...catch...finally has some pointless headaches that really don't have any good reasons for their existence.The ProblemConsider a classic database/session hunk of code:try { DBConnection connection =...
10 replies - 6084 views - 08/07/08 by James Sugrue in News