XsltCompileException.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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 Constructors
  20. protected XsltCompileException (SerializationInfo info, StreamingContext context )
  21. : base (info, context)
  22. {
  23. }
  24. public XsltCompileException (Exception inner, String sourceUri, int lineNumber, int linePosition)
  25. : base (Locale.GetText ("XSLT compile error"), inner, lineNumber, linePosition, sourceUri)
  26. {
  27. }
  28. internal XsltCompileException (string message, Exception innerException, XPathNavigator nav)
  29. : base (message, innerException, nav)
  30. {
  31. }
  32. #endregion
  33. #region Properties
  34. public override string Message {
  35. get { return base.Message; }
  36. }
  37. #endregion
  38. #region Methods
  39. public override void GetObjectData (SerializationInfo info, StreamingContext context)
  40. {
  41. base.GetObjectData (info, context);
  42. }
  43. #endregion
  44. }
  45. }