XsltCompileException.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. //
  2. // System.Xml.Xsl.XsltCompileException.cs
  3. //
  4. // Authors:
  5. // Tim Coleman ([email protected])
  6. // Andreas Nahr ([email protected])
  7. //
  8. // (C) Copyright 2002 Tim Coleman
  9. // (C) 2003 Andreas Nahr
  10. //
  11. using System;
  12. using System.Runtime.Serialization;
  13. namespace System.Xml.Xsl
  14. {
  15. [Serializable]
  16. public class XsltCompileException : XsltException
  17. {
  18. #region Fields
  19. string message;
  20. #endregion
  21. #region Constructors
  22. protected XsltCompileException (SerializationInfo info, StreamingContext context )
  23. : base (info, context)
  24. {
  25. }
  26. public XsltCompileException (Exception inner, String sourceUri, int lineNumber, int linePosition)
  27. : base (Locale.GetText ("XSLT compile error"), inner, lineNumber, linePosition, sourceUri)
  28. {
  29. }
  30. #endregion
  31. #region Properties
  32. public override string Message {
  33. get { return message; }
  34. }
  35. #endregion
  36. #region Methods
  37. public override void GetObjectData (SerializationInfo info, StreamingContext context)
  38. {
  39. base.GetObjectData (info, context);
  40. }
  41. #endregion
  42. }
  43. }