You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
550 B

1 month ago
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace ReportLibrary
  7. {
  8. public class BusinessException : Exception
  9. {
  10. //创建一个包含错误消息的异常对象。
  11. public BusinessException(string message)
  12. : base(message) { }
  13. //创建一个包含错误消息和内部异常对象的异常对象。
  14. public BusinessException(string message, Exception innerException)
  15. : base(message, innerException) { }
  16. }
  17. }