XsltCompileException.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. // System.Xml.Xsl.XsltCompileException
  2. //
  3. // Author: Tim Coleman <[email protected]>
  4. // (C) Copyright 2002 Tim Coleman
  5. using System;
  6. using System.Runtime.Serialization;
  7. namespace System.Xml.Xsl
  8. {
  9. [Serializable]
  10. public class XsltCompileException : XsltException
  11. {
  12. #region Fields
  13. string message;
  14. #endregion
  15. #region Constructors
  16. [MonoTODO]
  17. protected XsltCompileException (SerializationInfo info, StreamingContext context )
  18. : base (info, context)
  19. {
  20. }
  21. [MonoTODO]
  22. // I don't think this base() call is right, but what
  23. // should the message be for XsltException?
  24. public XsltCompileException (Exception inner, String sourceUri, int lineNumber, int linePosition)
  25. : base (sourceUri, inner)
  26. {
  27. }
  28. #endregion
  29. #region Properties
  30. public override string Message {
  31. get { return message; }
  32. }
  33. #endregion
  34. #region Methods
  35. public override void GetObjectData (SerializationInfo info, StreamingContext context)
  36. {
  37. base.GetObjectData (info, context);
  38. }
  39. #endregion
  40. }
  41. }