Custom exception handler using Enterprise Library 4.1

Topics: Exception Handling Application Block
Feb 3, 2010 at 5:45 PM


I am newbie to enterprise library.

I would like to create custom exception handler for our project, which is  an n-tier architecture (DAL, BL & Presentation Layer).

I searched in google and got some idea about how to configure exception handling enterprise library.

But, I am unable to find any right direction on how to implement custom exception handler which will cater arcoss all layers.

Could you please provide me some guidance or any resources which i can able to get some idea on the same?


Chandrasekaran C N

Feb 4, 2010 at 4:46 AM


Have you read the documentation of ent lib? There is a section where it discusses about creating a custom exception handler, it is also available via this link: and also, you might want to look at the exception handling quickstart, there is a sample custom exception handler.

Valiant Dudan
Global Technology and Solutions
Avanade, Inc.