好文大家一起引用--Mark Treadwell
This is a re-post of Ohad Israeli's one, I found this very useful and included here for my reference.
Many Thanks to Mark Treadwell and Ohad Israeli for sharing the info.
Mark Treadwell has a great post with lots of sources regarding exception management
-
MSJ, Matt Pietrek: A Crash Course in Structured Exception Handling
-
MSDN Mag, Matt Pietrek: Under the Hood - New Vectored Exception Handling in Windows XP
-
Blog, Chris Brumme: The Exception Model
-
PAG, MSDN, Exception Management Architecture Guide [article only]
-
PAG, MSDN, Exception Management Application Block for .NET [article only]
-
Cat Francis, MSDN, Introduction to Exception Handling in Visual Basic .NET [article only]
-
Eric Gunnerson, MSDN, Writing Exceptional Code [article only]
-
Eric Gunnerson, MSDN, The Well-Tempered Exception [article and code: exception.exe]
-
MSDN Library, .NET Framework Class Library, Exception Class
-
MSDN Library, .NET Framework SDK, .NET Framework Developer's Guide, Handling and Throwing Exceptions, with the following subsections:
-
Exceptions Overview - Provides an overview of common language runtime exceptions
-
Exception Class - Describes the elements of an exception object
-
Exception Hierarchy - Describes the exceptions that most exceptions derive from
-
Exception Handling Fundamentals - Explains how to handle exceptions using Catch, Throw, and Finally statements
-
Using the Try/Catch Block to Catch Exceptions - Describes how to use the Try/Catch block to handle exceptions
-
Using Specific Exceptions in a Catch Block - Describes how to catch specific exceptions
-
Throwing Exceptions - Describes how to throw exceptions as well as how to catch and then re-throw exceptions
-
Using User-Defined Exceptions - Describes how to create your own exception classes
-
Using User-Filtered Exceptions - Describes how to set up filtered exceptions
-
Using the Finally Block - Explains how to use the Finally statement in an exception block
-
-
Best Practices for Handling Exceptions - Describes suggested methods for handling exceptions
-
Handling COM Interop Exceptions - Describes how to handle exceptions thrown and caught in unmanaged code
-
-
Jesse Liberty, MSDN Magazine, December 2002, .NET Exceptions: Make the Transition from Traditional Visual Basic Error Handling to the Object-Oriented Model in .NET [article only]
-
Wesner Moise, Assert Enhancements [article and code, assert_src.zip]
-
Kevin McFarlane, Code Project, Managing Unhandled Exceptions in .NET [article and code]
-
Marc Clifton, Code Project, A Treatise on Using Debug and Trace classes, including Exception Handling [article and code, DebugTreatise_src.zip]
-
Jason Bock, Creating a Reusable Error Dialog for .NET Applications [article and code]
-
Kathleen Dollard, Visual Studio Magazine, Display Dissected Exceptions [article and code]
2004.07.21
补上另外的一些
使用异常管理程序块来记录错误
http://www.zdnet.com.cn/developer/code/story/0,2000081534,39159209-1,00.htm
Instrumenting Your Code for Exception Management
http://www.awprofessional.com/articles/article.asp?p=102216&seqNum=5
http://www.awprofessional.com/articles/article.asp?p=102216&seqNum=5
Custom publishers for the Exception Management Application Block
http://builder.com.com/5100-6374_14-5110833.html
http://builder.com.com/5100-6374_14-5110833.html
Examining the Exception Management Application Block (EMAB)
http://aspnet.4guysfromrolla.com/demos/printPage.aspx?path=/articles/032404-1.aspx
http://aspnet.4guysfromrolla.com/demos/printPage.aspx?path=/articles/032404-1.aspx
Automate Exception Logging
http://www.ftponline.com/vsm/2004_06/magazine/columns/gettingstarted/default_pf.aspx
http://www.ftponline.com/vsm/2004_06/magazine/columns/gettingstarted/default_pf.aspx
Custom Exception Handling
http://weblogs.asp.net/erobillard/archive/2004/04/14/113471.aspx
http://weblogs.asp.net/erobillard/archive/2004/04/14/113471.aspx
Rich Custom Error Handling with ASP.NET
http://msdn.microsoft.com/asp.net/community/authors/elirobillard/default.aspx?pull=/library/en-us/dnaspp/html/customerrors.asp
http://msdn.microsoft.com/asp.net/community/authors/elirobillard/default.aspx?pull=/library/en-us/dnaspp/html/customerrors.asp