2004-03-01 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / System.XML / System.Xml.Query / XmlQueryException.cs
1 //\r
2 // System.Xml.Query.XmlQueryException\r
3 //\r
4 // Author:\r
5 //   Tim Coleman (tim@timcoleman.com)\r
6 //\r
7 // Copyright (C) Tim Coleman, 2003\r
8 //\r
9 \r
10 #if NET_1_2\r
11 \r
12 using System;\r
13 using System.Runtime.Serialization;\r
14 \r
15 namespace System.Xml.Query {\r
16         public class XmlQueryException : SystemException\r
17         {\r
18                 #region Constructors\r
19 \r
20                 public XmlQueryException (SerializationInfo info, StreamingContext context)\r
21                         : base (info, context)\r
22                 {\r
23                 }\r
24 \r
25                 public XmlQueryException ()\r
26                         : base ("An XML Query Exception has occurred.")\r
27                 {\r
28                 }\r
29 \r
30                 public XmlQueryException (string res)\r
31                         : base (res)\r
32                 {\r
33                 }\r
34 \r
35                 public XmlQueryException (string resource, Exception exception)\r
36                         : base (resource, exception)\r
37                 {\r
38                 }\r
39 \r
40                 #endregion // Constructors\r
41 \r
42                 #region Properties\r
43 \r
44                 [MonoTODO]\r
45                 public int LineNumber {\r
46                         get { throw new NotImplementedException (); }\r
47                 }\r
48 \r
49                 [MonoTODO]\r
50                 public int LinePosition {\r
51                         get { throw new NotImplementedException (); }\r
52                 }\r
53         \r
54                 [MonoTODO]\r
55                 public override string Message {\r
56                         get { throw new NotImplementedException(); }\r
57                 }\r
58 \r
59                 [MonoTODO]\r
60                 public string SourceUri {\r
61                         get { throw new NotImplementedException(); }\r
62                 }\r
63 \r
64                 #endregion // Properties\r
65 \r
66                 #region Methods\r
67 \r
68                 [MonoTODO]\r
69                 public override void GetObjectData (SerializationInfo info, StreamingContext context)\r
70                 {\r
71                         throw new NotImplementedException();\r
72                 }\r
73 \r
74                 [MonoTODO]\r
75                 public void SetMessage (string message, bool addLineInfo)\r
76                 {\r
77                         throw new NotImplementedException ();\r
78                 }\r
79 \r
80                 #endregion // Methods\r
81         }\r
82 }\r
83 \r
84 #endif // NET_1_2\r