XsltCompileException.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. using System.Xml.XPath;
  14. namespace System.Xml.Xsl
  15. {
  16. [Serializable]
  17. public class XsltCompileException : XsltException
  18. {
  19. #region Fields
  20. string message;
  21. #endregion
  22. #region Constructors
  23. protected XsltCompileException (SerializationInfo info, StreamingContext context )
  24. : base (info, context)
  25. {
  26. }
  27. public XsltCompileException (Exception inner, String sourceUri, int lineNumber, int linePosition)
  28. : base (Locale.GetText ("XSLT compile error"), inner, lineNumber, linePosition, sourceUri)
  29. {
  30. }
  31. internal XsltCompileException (string message, Exception innerException, XPathNavigator nav)
  32. : base (message, innerException, nav)
  33. {
  34. }
  35. #endregion
  36. #region Properties
  37. public override string Message {
  38. get { return message; }
  39. }
  40. #endregion
  41. #region Methods
  42. public override void GetObjectData (SerializationInfo info, StreamingContext context)
  43. {
  44. base.GetObjectData (info, context);
  45. }
  46. #endregion
  47. }
  48. }