XPathException.cs 851 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. //
  2. // System.Xml.XPath.XPathException
  3. //
  4. // Author:
  5. // Tim Coleman ([email protected])
  6. //
  7. // (C) Copyright 2002 Tim Coleman
  8. //
  9. using System.Runtime.Serialization;
  10. namespace System.Xml.XPath
  11. {
  12. [Serializable]
  13. public class XPathException : SystemException
  14. {
  15. #region Constructors
  16. protected XPathException (SerializationInfo info, StreamingContext context) : base (info, context) {}
  17. public XPathException (string message, Exception innerException) : base (message, innerException) {}
  18. internal XPathException (string message) : base (message, null) {}
  19. #endregion
  20. #region Properties
  21. public override string Message {
  22. get { return base.Message; }
  23. }
  24. #endregion
  25. #region Methods
  26. public override void GetObjectData (SerializationInfo info, StreamingContext context)
  27. {
  28. base.GetObjectData (info, context);
  29. }
  30. #endregion
  31. }
  32. }