秋梦无痕

一场秋雨无梦痕,春夜清风冻煞人。冬来冷水寒似铁,夏至京北蟑满城。

Avatar

Traping Exception In ASP.NET

From: webLogs.asp.net
We can trap error in ASP.NET in hierarchical way:

1. By using Try Catch in local routines.
2. By using Page_Error event
3. By using Global.asax error events
4. By redirecting control to specific pages depending on each specific error(like HTTP 400 and 500 specific errors) in Web.config file.

评论已关闭