2010-03-01 Gonzalo Paniagua Javier <gonzalo@novell.com>
[mono.git] / mcs / class / System / System.ComponentModel.Design / CheckoutException.cs
index c5c670f255acb293acda02a3e4855b42f9ab5ce9..d3fefb77bf803e442f67526d817447f92228b59d 100644 (file)
@@ -41,15 +41,21 @@ namespace System.ComponentModel.Design
 #endif
        public class CheckoutException : ExternalException
        {
-               public static readonly CheckoutException Canceled = new CheckoutException ();
+               public static readonly CheckoutException Canceled = new CheckoutException (
+                       "The user canceled the checkout.",
+#if NET_2_0
+                       -2147467260);
+#else
+                       -2147467259);
+#endif
 
                public CheckoutException()
-                       : this (null, 0)
+                       : base ()
                {
                }
 
                public CheckoutException (string message)
-                       : this (message, 0)
+                       : base (message)
                {
                }