Blame view

netcore/src/Infrastructure/NCC.Pay/Alipay.AopSdk.Core/AopException.cs 733 Bytes
de2bd2f9   “wangming”   项目初始化
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
  using System;
  using System.Runtime.Serialization;
  
  namespace Alipay.AopSdk.Core
  {
  	/// <summary>
  	///     AOP客户端异常。
  	/// </summary>
  	public class AopException : Exception
  	{
  		public AopException()
  		{
  		}
  
  		public AopException(string message)
  			: base(message)
  		{
  		}
  
  		protected AopException(SerializationInfo info, StreamingContext context)
  			: base(info, context)
  		{
  		}
  
  		public AopException(string message, Exception innerException)
  			: base(message, innerException)
  		{
  		}
  
  		public AopException(string errorCode, string errorMsg)
  			: base(errorCode + ":" + errorMsg)
  		{
  			ErrorCode = errorCode;
  			ErrorMsg = errorMsg;
  		}
  
  		public string ErrorCode { get; }
  
  		public string ErrorMsg { get; }
  	}
  }