Good post.
I’ve faced this kind of thing a lot of times as well. Actually, this is a smell that I always look for when someone asks my help to debug a production app. My general advice is this area is: if you don’t know what to do with an exception don’t catch it. Tools like FxCop can help to avoid it as well.
Another good reference it’s MSDN Design Guidelines for Exception http://msdn.microsoft.com/en-us/library/ms229014(VS.80).aspx
Hi Tucaz,
Good post.
I’ve faced this kind of thing a lot of times as well. Actually, this is a smell that I always look for when someone asks my help to debug a production app. My general advice is this area is: if you don’t know what to do with an exception don’t catch it. Tools like FxCop can help to avoid it as well.
[]’s Bruno Caimar
Great post.
In the perfect world we shouldn’t have to guide professional programmers this kind of stuff. Ah, the perfect world…. =D