Topics: Exception Handling Application Block
Dec 14, 2009 at 3:29 PM


I am new to entlib. i want to customize the ReplaceHandler class , based on error code, i need to get the message from the DB and set the message to new exception message object ?

Can i modifty the source code ReplaceHandler class give in entilb or extend the IExceptionHandler

Is any other alternative there ?



Dec 15, 2009 at 2:07 AM

Modifying the source code or creating your own implementiong of IExceptionHandler are your options.  Using either of them would definitely help you achieve what you want but I suggest implementing your own IExceptionHandler so you need not rebuild the source code.


Sarah  Urmeneta
Global Technology and Solutions
Avanade, Inc.