Bodhisattva in Training

Monthly Archives: June 2005

Exception Handling Presentation

I gave a presentation on OOP exception handling at Northrop Grumman yesterday. It covers the exception handling techniques that I have recently bogged about. The slides are all up to date, but the comments are a little sparse toward the … Continue reading

June 17, 2005 Uncategorized

An ExceptionHandler Example

Here is a quick example of an ExceptionHandler and how to use it. First the dirived ExceptionHandler: Class Example Public Shared Sub Main() Dim handler As New MyExceptionHandler Dim MyExample As New Example Try MyExample.UnsafeAction() MyExample.AnotherUnsafeAction() Catch ex As Exception … Continue reading

June 7, 2005 Uncategorized

Aggregate ExceptionHandlers

So I had a copy paste bug in my unit test for aggregate excpetion handling. It was using a table of signatures and handlers to determine which handler to dispatch to. The problem was Hashtable(Signature) does not do the same … Continue reading