1
wtt
6 天以前 dc94a30d6c792eb781d29521cefba7f8efa99a62
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using System;
using System.Collections.Generic;
using System.Text;
 
namespace Taobao.Top.Link
{
    public class LinkException : Exception
    {
        public int ErrorCode { get; private set; }
        public LinkException() : this(string.Empty) { }
        public LinkException(string message) : this(message, null) { }
        public LinkException(string message, Exception innerException) : this(0, message, innerException) { }
        public LinkException(int errorCode, string message) : this(0, message, null) { }
        public LinkException(int errorCode, string message, Exception innerException)
            : base(message, innerException)
        {
            this.ErrorCode = errorCode;
        }
    }
}