SqlExceptionWrapHandler - Wrapping the SqlException and not replacing

Topics: Development Team Discussion, User Discussion
Feb 20, 2008 at 8:26 AM
Edited Feb 21, 2008 at 3:22 PM
Hi all,
I'm using the EntlibContrib new SqlExceptionWrapHandler and I was surprised to find that the handler wraps the original exception with the exception I have defined in the configuration.

my first question is - am I doing something wrong? and the second question is, asuming the first question's answer is 'NO', what's the point? I want to shadow from the DAL callers the SQL exceptions. Log it in the DAL and nip it in the budd...

What do you say?