5 // Jason Diamond (jason@injektilo.org)
7 // (C) 2002 Jason Diamond http://injektilo.org/
11 using System.Runtime.Serialization;
15 public class XmlException : SystemException
26 public XmlException (string message, Exception innerException)
27 : base (message, innerException)
32 protected XmlException (SerializationInfo info, StreamingContext context)
34 throw new NotImplementedException ();
37 internal XmlException (string message) : base (message)
41 internal XmlException (string message, int lineNumber, int linePosition) : base (message)
43 this.lineNumber = lineNumber;
44 this.linePosition = linePosition;
53 get { return lineNumber; }
56 public int LinePosition
58 get { return linePosition; }