Blame view

netcore/src/Infrastructure/NCC/ViewEngine/Exceptions/ViewEngineException.cs 1.13 KB
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
42
43
44
45
46
  using NCC.Dependency;
  using System;
  using System.Runtime.Serialization;
  
  namespace NCC.ViewEngine
  {
      /// <summary>
      /// 视图引擎异常类
      /// </summary>
      [SuppressSniffer]
      public class ViewEngineException : Exception
      {
          /// <summary>
          /// 构造函数
          /// </summary>
          public ViewEngineException()
          {
          }
  
          /// <summary>
          /// 构造函数
          /// </summary>
          /// <param name="info"></param>
          /// <param name="context"></param>
          protected ViewEngineException(SerializationInfo info, StreamingContext context) : base(info, context)
          {
          }
  
          /// <summary>
          /// 构造函数
          /// </summary>
          /// <param name="message"></param>
          public ViewEngineException(string message) : base(message)
          {
          }
  
          /// <summary>
          /// 构造函数
          /// </summary>
          /// <param name="message"></param>
          /// <param name="innerException"></param>
          public ViewEngineException(string message, Exception innerException) : base(message, innerException)
          {
          }
      }
  }