ningshuxia
2022-11-09 1f91ca552c8c7a22c8853149c9be802a73bc843d
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; }
    }
}