Ejemplo n.º 1
0
 public ExceptionInfo(Exception exception, AssertionLibraryFilter filter)
 {
     Type           = exception.GetType().FullName;
     DisplayName    = filter.DisplayName(exception);
     Message        = exception.Message;
     StackTrace     = filter.FilterStackTrace(exception);
     InnerException = exception.InnerException == null ? null : new ExceptionInfo(exception.InnerException, filter);
 }
Ejemplo n.º 2
0
 public ExceptionInfo(Exception exception, AssertionLibraryFilter filter)
 {
     Type = exception.GetType().FullName;
     DisplayName = filter.DisplayName(exception);
     Message = exception.Message;
     StackTrace = filter.FilterStackTrace(exception);
     InnerException = exception.InnerException == null ? null : new ExceptionInfo(exception.InnerException, filter);
 }