Author: atsushi
Date: 2007-05-28 09:10:18 -0400 (Mon, 28 May 2007)
New Revision: 78055

Modified:
   trunk/mcs/class/System/Test/System.Configuration/ChangeLog
   trunk/mcs/class/System/Test/System.Configuration/SettingElementTest.cs
Log:
2007-05-28  Atsushi Enomoto  <[EMAIL PROTECTED]>

        * SettingElementTest.cs : blame catch.



Modified: trunk/mcs/class/System/Test/System.Configuration/ChangeLog
===================================================================
--- trunk/mcs/class/System/Test/System.Configuration/ChangeLog  2007-05-28 
13:03:30 UTC (rev 78054)
+++ trunk/mcs/class/System/Test/System.Configuration/ChangeLog  2007-05-28 
13:10:18 UTC (rev 78055)
@@ -1,5 +1,9 @@
 2007-05-28  Atsushi Enomoto  <[EMAIL PROTECTED]>
 
+       * SettingElementTest.cs : blame catch.
+
+2007-05-28  Atsushi Enomoto  <[EMAIL PROTECTED]>
+
        * SettingElementTest.cs : new test.
 
 2007-05-28  Atsushi Enomoto  <[EMAIL PROTECTED]>

Modified: trunk/mcs/class/System/Test/System.Configuration/SettingElementTest.cs
===================================================================
--- trunk/mcs/class/System/Test/System.Configuration/SettingElementTest.cs      
2007-05-28 13:03:30 UTC (rev 78054)
+++ trunk/mcs/class/System/Test/System.Configuration/SettingElementTest.cs      
2007-05-28 13:10:18 UTC (rev 78055)
@@ -46,7 +46,9 @@
                                SettingElementCollection c = new 
SettingElementCollection ();
                                c.Add (null);
                                Assert.Fail ();
-                       } catch {
+                       } catch (NullReferenceException) {
+                               // .net s cks here
+                       } catch (ArgumentNullException) {
                        }
                }
 

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to