| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- //
- // XmlException.cs
- //
- // Author:
- // Jason Diamond ([email protected])
- //
- // (C) 2002 Jason Diamond http://injektilo.org/
- //
- using System;
- using System.Runtime.Serialization;
- namespace System.Xml
- {
- public class XmlException : SystemException
- {
- #region Fields
- int lineNumber;
- int linePosition;
- #endregion
- #region Constructors
- public XmlException (string message, Exception innerException)
- : base (message, innerException)
- {
- }
- [MonoTODO]
- protected XmlException (SerializationInfo info, StreamingContext context)
- {
- throw new NotImplementedException ();
- }
- internal XmlException (string message) : base (message)
- {
- }
- internal XmlException (string message, int lineNumber, int linePosition) : base (message)
- {
- this.lineNumber = lineNumber;
- this.linePosition = linePosition;
- }
- #endregion
- #region Properties
- public int LineNumber
- {
- get { return lineNumber; }
- }
- public int LinePosition
- {
- get { return linePosition; }
- }
- #endregion
- }
- }
|