tangxu
2023-04-10 9c283c00da89516d2456e70a00fb61534c535576
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
 
namespace IStation
{
    /// <summary>
    /// 自定义异常
    /// </summary>
    public class BimfaceException : Exception
    {
        public BimfaceException(string code)
        {
            this.Code = Bimface.ResultHelper.GetResultCode(code);
            this.Message = Bimface.ResultHelper.GetResultDescription(code);
        }
        public Bimface.eResultCode Code { get; private set; }
        public new string Message { get; private set; }
    }
}