Campbell Ritchie wrote:Some exceptions must be rethrown, eg this one, if they are caught.
Stephan van Hulst wrote:Before Java 1.7, I've also used it on rare occasions where I needed the same exception handling for a myriad of disjoint exceptions. I'd catch the most specific common super-type, and then rethrow the exceptions that I don't want to handle.
Jeff Verdegan wrote:
Stephan van Hulst wrote:Before Java 1.7, I've also used it on rare occasions where I needed the same exception handling for a myriad of disjoint exceptions. I'd catch the most specific common super-type, and then rethrow the exceptions that I don't want to handle.
What's new in 7? (Just a keyword or two is fine, so I know what to search for.)
Joanne
Stephan van Hulst wrote:Hah, Joanne was quicker.
Joanne
Stephan van Hulst wrote:That's okay, you were beaten at the "day of the week" question by two people ;P
Joanne
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Don't get me started about those stupid light bulbs. |