Ramon Smits

Tell me your secrets and i'll tell you mine

Browse by Tags

All Tags » Exceptions (RSS)
Correct generic exception handling (catch(Exception){ ... })
A very nice comment tail is growing at the post " Why catch(Exception)/empty is bad " on the CLR team blog . I tend to agree but there are perfectly valid reason's to do a generic catch but with a correct handler, an empty handler is *always...
COM Exceptions and the ErrorCode property
Today I fixed a nasty bug in one of our applications. The first version had something like the following code construction: Type t = Type.GetTypeFromProgID("My.ComComponent", serverName); var component = (ComThingie)Activator.CreateInstance...