Author: miguel
Date: 2005-05-04 16:32:53 -0400 (Wed, 04 May 2005)
New Revision: 44045
Modified:
branches/mono-1-1-7/mcs/class/System.Web/System.Web/ChangeLog
branches/mono-1-1-7/mcs/class/System.Web/System.Web/HttpApplicationFactory.cs
Log:
Apply patch from r44043 to 1-1-7 branch
Modified: branches/mono-1-1-7/mcs/class/System.Web/System.Web/ChangeLog
===================================================================
--- branches/mono-1-1-7/mcs/class/System.Web/System.Web/ChangeLog
2005-05-04 20:25:19 UTC (rev 44044)
+++ branches/mono-1-1-7/mcs/class/System.Web/System.Web/ChangeLog
2005-05-04 20:32:53 UTC (rev 44045)
@@ -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:
branches/mono-1-1-7/mcs/class/System.Web/System.Web/HttpApplicationFactory.cs
===================================================================
---
branches/mono-1-1-7/mcs/class/System.Web/System.Web/HttpApplicationFactory.cs
2005-05-04 20:25:19 UTC (rev 44044)
+++
branches/mono-1-1-7/mcs/class/System.Web/System.Web/HttpApplicationFactory.cs
2005-05-04 20:32:53 UTC (rev 44045)
@@ -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