December 22, 2005

Pluggable exception handling

Ben takes the "throw as an exception dispatcher" idiom to its logical conclusion by presenting a pluggable exception handler.

As Ben says "I'm not sure how many situations something like this would be useful in, but it fit the testing problem well and was fun to write anyway". It's not the kind of code you need every day, but it's useful stuff if you're working on a test framework, or if you're interested in how you can use the "throw as an exception dispatcher" idiom.


Share this entry: Email it! | bookmark it! | digg it! | reddit!

Posted by Len at December 22, 2005 11:27 AM | Comments (0) | Categories : Geek Speak
Comments
Post a comment









Remember personal info?




Enter this code in the box below to prove that you're not some kind of automated spam robot...