DCSIMG
programming - urig - Tidbits from a .net life

Browse by Tags

Good Read: Design Guidelines for Exceptions
03 December 08 02:55 PM | urig | 2 comment(s)
I've often wished for real world guidance on exceptions handling in .net applications. Deciding on a strategy for throwing and catching exceptions is tricky. On the one hand exceptions are said to be the better way of handling execution errors in code. On the other hand, exceptions bring with them the overhead of instantiating them and throwing them which could negatively affect performance. A while ago I've found some good advice in Microsoft's own Design Guidelines for Exceptions section...