예제 #1
0
 private static void WriteStartupFailureException(StringBuilder sb, StartupFailureException exception)
 {
     sb.AppendFormat("StartupFailureException: {0}\r\n", exception.Message);
     sb.AppendLine(exception.Log);
     if (exception.Data.Count > 0)
     {
         WriteExceptionData(sb, exception);
     }
     if (exception.InnerException != null)
     {
         WriteInnerException(sb, exception.InnerException);
     }
 }
예제 #2
0
 private static void WriteStartupFailureException(StringBuilder sb, StartupFailureException exception)
 {
     sb.AppendFormat("StartupFailureException: {0}\r\n", exception.Message);
       sb.AppendLine(exception.Log);
       if (exception.Data.Count > 0)
     WriteExceptionData(sb, exception);
       if (exception.InnerException != null)
     WriteInnerException(sb, exception.InnerException);
 }