TransException.cs 605 B

1234567891011121314151617181920212223
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using System.Xml.Linq;
  5. namespace HTEXLib.COMM
  6. {
  7. public class TransException : Exception
  8. {
  9. public XElement node { get; set; }
  10. public TransException(XElement node) : base()
  11. {
  12. this. node = node;
  13. }
  14. public TransException(XElement node,string message):base(message) {
  15. this.node = node;
  16. }
  17. public TransException(XElement node,string message, Exception innerException) : base(message, innerException)
  18. {
  19. this.node = node;
  20. }
  21. }
  22. }