BarCodeException.cs 837 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace Bowin.Common.BarCode
  6. {
  7. /// <summary>
  8. /// 条码类异常
  9. /// </summary>
  10. public class BarCodeException : ApplicationException
  11. {
  12. private BarCodeType barCodeType;
  13. /// <summary>
  14. /// 获取或设置条码类型
  15. /// </summary>
  16. public BarCodeType BarCodeType
  17. {
  18. get { return barCodeType; }
  19. set { barCodeType = value; }
  20. }
  21. public BarCodeException()
  22. : base()
  23. {
  24. }
  25. public BarCodeException(string message)
  26. : base(message)
  27. {
  28. }
  29. public BarCodeException(string message, Exception innerException)
  30. : base(message, innerException)
  31. {
  32. }
  33. }
  34. }