G
Guest
Hi,
I am starting to develop a large 4 tier ASP.NET application.
I have looked at using the Enterprise Application Blocks for Exception
Management.
In all of our Methods / Functions we have try catch blocks.
In my catch block I rethrow the Exception.
Where and when should I log this Exception.
Should I let the exception bubble up to the Application_OnError routine in
the global.asax and log the Exception in here by using the ExceptionManager
of the ExceptionManagement Block.
To summarise-:
I want to catch all exceptions and log them and redirect the user to a user
friendly page which will indicate that an error has occured.
I am starting to develop a large 4 tier ASP.NET application.
I have looked at using the Enterprise Application Blocks for Exception
Management.
In all of our Methods / Functions we have try catch blocks.
In my catch block I rethrow the Exception.
Where and when should I log this Exception.
Should I let the exception bubble up to the Application_OnError routine in
the global.asax and log the Exception in here by using the ExceptionManager
of the ExceptionManagement Block.
To summarise-:
I want to catch all exceptions and log them and redirect the user to a user
friendly page which will indicate that an error has occured.