XmlQueryCompileException.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. //
  2. // System.Xml.Query.XmlQueryCompileException
  3. //
  4. // Author:
  5. // Tim Coleman ([email protected])
  6. // Atsushi Enomoto ([email protected])
  7. //
  8. // Copyright (C) Tim Coleman, 2003
  9. // Copyright (C) Novell Inc., 2004
  10. //
  11. #if NET_2_0
  12. using System;
  13. using System.Runtime.Serialization;
  14. namespace System.Xml.Query
  15. {
  16. public class XmlQueryCompileException : XmlQueryException
  17. {
  18. #region Constructors
  19. protected XmlQueryCompileException (SerializationInfo info, StreamingContext context)
  20. : base (info, context)
  21. {
  22. }
  23. public XmlQueryCompileException ()
  24. : base ("An XML Query Compile Exception has occurred.")
  25. {
  26. }
  27. public XmlQueryCompileException (string res)
  28. : base (res)
  29. {
  30. }
  31. public XmlQueryCompileException (string resource, Exception exception)
  32. : base (resource, exception)
  33. {
  34. }
  35. #endregion // Constructors
  36. #region Methods
  37. [MonoTODO]
  38. public override void GetObjectData (SerializationInfo info, StreamingContext context)
  39. {
  40. throw new NotImplementedException();
  41. }
  42. #endregion // Methods
  43. }
  44. }
  45. #endif // NET_2_0