> Excellent exception practices. I would only clarify that Exception should > never be caught without a rethrow.
Except at the top-most handler (to keep the application alive, if appropriate, like in ASP.Net). You can log the real error, report some reasonble client-readable message. If you do this, make sure you assign a correlation ID to the human-readable and logged message so the user can report the error and you can look it up in the logs. I've blogged this, and added your comment. http://musingmarc.blogspot.com/2005/09/exception-handling-in-net-some-general.html -- "Under capitalism, man exploits man. Under communism, it's just the opposite." –John Kenneth Gailbraith Marc C. Brooks mailto:[EMAIL PROTECTED] http://musingmarc.blogspot.com
