Author: gonzalo
Date: 2005-05-04 16:09:57 -0400 (Wed, 04 May 2005)
New Revision: 44043
Modified:
trunk/mcs/class/System.Web/System.Web/ChangeLog
trunk/mcs/class/System.Web/System.Web/HttpApplicationFactory.cs
Log:
2005-05-04 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
* HttpApplicationFactory.cs: ignore any exception thrown when invoking
an application event.
Modified: trunk/mcs/class/System.Web/System.Web/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/System.Web/ChangeLog 2005-05-04 19:52:36 UTC
(rev 44042)
+++ trunk/mcs/class/System.Web/System.Web/ChangeLog 2005-05-04 20:09:57 UTC
(rev 44043)
@@ -1,3 +1,8 @@
+2005-05-04 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
+
+ * HttpApplicationFactory.cs: ignore any exception thrown when invoking
+ an application event.
+
2005-04-23 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
* HttpBrowserCapabilities.cs: fix Win32 property.
Modified: trunk/mcs/class/System.Web/System.Web/HttpApplicationFactory.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web/HttpApplicationFactory.cs
2005-05-04 19:52:36 UTC (rev 44042)
+++ trunk/mcs/class/System.Web/System.Web/HttpApplicationFactory.cs
2005-05-04 20:09:57 UTC (rev 44043)
@@ -156,10 +156,13 @@
return false;
if (method.GetParameters ().Length == 0)
- method.Invoke (target, null);
- else
+ args = null;
+
+ try {
method.Invoke (target, args);
-
+ } catch {
+ // Ignore any exception here
+ }
return true;
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches