2 // System.Xml.Query.XmlQueryCompileException
\r
5 // Tim Coleman (tim@timcoleman.com)
\r
6 // Atsushi Enomoto (atsushi@ximian.com)
\r
8 // Copyright (C) Tim Coleman, 2003
\r
9 // Copyright (C) Novell Inc., 2004
\r
13 // Permission is hereby granted, free of charge, to any person obtaining
\r
14 // a copy of this software and associated documentation files (the
\r
15 // "Software"), to deal in the Software without restriction, including
\r
16 // without limitation the rights to use, copy, modify, merge, publish,
\r
17 // distribute, sublicense, and/or sell copies of the Software, and to
\r
18 // permit persons to whom the Software is furnished to do so, subject to
\r
19 // the following conditions:
\r
21 // The above copyright notice and this permission notice shall be
\r
22 // included in all copies or substantial portions of the Software.
\r
24 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
\r
25 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
\r
26 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
\r
27 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
\r
28 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
\r
29 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
\r
30 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
\r
35 using System.Runtime.Serialization;
\r
37 namespace System.Xml.Query
\r
40 public class XmlQueryCompileException : XmlQueryException
\r
42 #region Constructors
\r
44 protected XmlQueryCompileException (SerializationInfo info, StreamingContext context)
\r
45 : base (info, context)
\r
49 public XmlQueryCompileException ()
\r
50 : base ("An XML Query Compile Exception has occurred.")
\r
54 public XmlQueryCompileException (string res)
\r
55 : this (res, null, null, null)
\r
59 public XmlQueryCompileException (string resource, Exception exception)
\r
60 : this (resource, null, null, exception)
\r
64 internal XmlQueryCompileException (string message, IXmlLineInfo li, string sourceUri, Exception innerException)
\r
65 : base (message, li, sourceUri, innerException)
\r
69 #endregion // Constructors
\r