Are able to catch exceptions thrown in Application_Error?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Author

    Are able to catch exceptions thrown in Application_Error?

    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_Err or of Global.asax.

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

    Thanks.
  • George

    #2
    Re: Are able to catch exceptions thrown in Application_Err or?

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

    George.

    "Author" <gnewsgroup@gma il.comwrote in message
    news:da81fb20-6813-4819-8745-c57e7384bb38@y3 8g2000hsy.googl egroups.com...
    >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_Err or of Global.asax.
    >
    What if my code inside Application_Err or itself throws exception? Can
    we catch it? How?
    >
    Thanks.

    Comment

    Working...