Skip to content

Tag Archives: exception

Eating Exceptions… eeehhhh!

24-Apr-08

Following are few points you need to take care when you decide to eat an exception. These are very much specific to C# language. a. Limit the code block. Attempt to wrap one or two statements within try. b. If an exception is eaten, log details to some logging mechanism. In short never write empty [...]