Esempio n. 1
0
 public ExceptionDetailNoStackTrace(ExceptionDetailNoStackTrace detail, bool includeInnerException)
 {
     this.HelpLink       = string.Empty;
     this.Message        = detail.Message;
     this.Type           = detail.Type;
     this.StackTrace     = string.Empty;
     this.InnerException = null;
     if (includeInnerException && detail.InnerException != null)
     {
         this.InnerException = new ExceptionDetailNoStackTrace(detail.InnerException, includeInnerException);
     }
 }
Esempio n. 2
0
 public ExceptionDetailNoStackTrace(ExceptionDetailNoStackTrace detail) : this(detail, false)
 {
 }