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

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ReportLibrary
{
public class BusinessException : Exception
{
//创建一个包含错误消息的异常对象。
public BusinessException(string message)
: base(message) { }
//创建一个包含错误消息和内部异常对象的异常对象。
public BusinessException(string message, Exception innerException)
: base(message, innerException) { }
}
}