示例#1
0
 public SimpleException(Exception e)
 {
     Message    = e.Message;
     Source     = e.Source;
     StackTrace = e.StackTrace;
     Type       = e.GetType().FullName;
     if (e.InnerException != null)
     {
         InnerException = new SimpleException(e.InnerException);
     }
 }
 public SimpleException(Exception e)
 {
     Message = e.Message;
     Source = e.Source;
     StackTrace = e.StackTrace;
     Type = e.GetType().FullName;
     if (e.InnerException != null)
         InnerException = new SimpleException(e.InnerException);
 }