Author: rolf
Date: 2007-06-20 12:20:17 -0400 (Wed, 20 Jun 2007)
New Revision: 80333

Modified:
   trunk/olive/class/agclr/System.Windows/ChangeLog
   trunk/olive/class/agclr/System.Windows/DependencyProperty.cs
Log:
* DependencyProperty.cs: Add better exception message.

Modified: trunk/olive/class/agclr/System.Windows/ChangeLog
===================================================================
--- trunk/olive/class/agclr/System.Windows/ChangeLog    2007-06-20 16:19:36 UTC 
(rev 80332)
+++ trunk/olive/class/agclr/System.Windows/ChangeLog    2007-06-20 16:20:17 UTC 
(rev 80333)
@@ -1,3 +1,7 @@
+2007-06-20  Rolf Bjarne Kvinge <[EMAIL PROTECTED]> 
+
+       * DependencyProperty.cs: Add better exception message.
+
 2007-06-19  Rolf Bjarne Kvinge <[EMAIL PROTECTED]> 
 
        * DependencyProperty.cs: Fix warning.

Modified: trunk/olive/class/agclr/System.Windows/DependencyProperty.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows/DependencyProperty.cs        
2007-06-20 16:19:36 UTC (rev 80332)
+++ trunk/olive/class/agclr/System.Windows/DependencyProperty.cs        
2007-06-20 16:20:17 UTC (rev 80333)
@@ -58,7 +58,7 @@
 
                        if (handle == IntPtr.Zero)
                                throw new Exception (
-                                       String.Format 
("DependencyProperty.Lookup: {0} lacks {1}", type, name));
+                                       String.Format 
("DependencyProperty.Lookup: {0} lacks {1}. This is normally because agclr.dll 
and libmoon is out of sync. Updating /moon/src and /olive/class/agclr, and do 
'make install' in both will probably fix it.", type, name));
 
                        if (ownerType == null)
                                throw new ArgumentNullException ("ownerType");  

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

Reply via email to