2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mcs / class / System.XML / System.Xml.XPath / XPathException.cs
index 33166fc3d4fb26b5f928f4f9471a37bc3620b149..2d5455a721142897a7997e3af7bf5fd455ed5972 100644 (file)
@@ -37,21 +37,36 @@ namespace System.Xml.XPath
        {
 #region Constructors
 
+#if NET_2_0
+               public XPathException ()
+                       : base ("")
+               {
+               }
+#endif
+
                protected XPathException (SerializationInfo info, StreamingContext context) : base (info, context) {}
 
                public XPathException (string message, Exception innerException) : base (message, innerException) {}
 
-               internal XPathException (string message) : base (message, null) {}
+#if NET_2_0
+               public XPathException (string message)
+#else
+               internal XPathException (string message)
+#endif
+                       : base (message, null)
+               {
+               }
 
 #endregion
 
 #region Properties
 
+#if NET_2_0
+#else
                public override string Message {
-
                        get { return base.Message; }
-
                }
+#endif
 
 #endregion