Are able to catch exceptions thrown in Application_Error?

  • Thread starter Thread starter Author
  • Start date Start date
A

Author

I searched a little, but could not find anything helpful.

In my asp.net 2.0 web application, I am catching application level
exceptions in Application_Error of Global.asax.

What if my code inside Application_Error itself throws exception? Can
we catch it? How?

Thanks.
 
Use try... catch there
PS: Do not forget to clear exception after you done in Application_Error.

George.
 
Back
Top