Walkthrough or QuickStart for Exception Handling Custom Handler

Topics: Exception Handling Application Block
Jun 10, 2009 at 8:41 AM

Hi,

I have read a lot of walkthrough or quickstart for Exception Handling Application Block, all of them just show how to do some exception handling using wrap handler, replace handler, and logging handler. But not a single one that mention how to do it with custom handler. Is there any walkthrough or quickstart for exception handling custom handler? Please someone provide me a walkthrough how to do it, even just the basic is enough.

Thanks in advance.

Jun 10, 2009 at 11:12 AM

Hi,

Please see this link : http://www.codeproject.com/KB/aspnet/Exception_FrameWork.aspx this one is for Ent Lib 2.0. If you are using the Enterprise Library 1.0, please see the documentation. You can find it in Exception Handling Application Block > Extending and Modifying the Exception Handling Application Block >Adding a New Exception Handler . Also, in the quickstart of the EHAB, there is a class named AppMessageExceptionHandler which is a sample of custom exception handler.

Valiant Dudan
Global Technology & Solutions
Avande, Inc.
entlib.support@avanade.com