2003-07-31 Piers Haken <piersh@friskit.com>
[mono.git] / mcs / class / System.XML / System.Xml.XPath / XPathException.cs
1 //
2 // System.Xml.XPath.XPathException
3 //
4 // Author:
5 //   Tim Coleman (tim@timcoleman.com)
6 //
7 // (C) Copyright 2002 Tim Coleman
8 //
9
10 using System.Runtime.Serialization;
11
12 namespace System.Xml.XPath
13 {
14         [Serializable]
15         public class XPathException : SystemException
16         {
17 #region Constructors
18
19                 protected XPathException (SerializationInfo info, StreamingContext context) : base (info, context) {}
20
21                 public XPathException (string message, Exception innerException) : base (message, innerException) {}
22
23                 internal XPathException (string message) : base (message, null) {}
24
25 #endregion
26
27 #region Properties
28
29                 public override string Message {
30
31                         get { return base.Message; }
32
33                 }
34
35 #endregion
36
37 #region Methods
38
39                 public override void GetObjectData (SerializationInfo info, StreamingContext context)
40                 {
41                         base.GetObjectData (info, context);
42                 }
43
44 #endregion
45         }
46 }