Changeset 3289 for trunk/sources/HeuristicLab.PluginInfrastructure/Starter
- Timestamp:
- 04/09/10 01:15:16 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.PluginInfrastructure/Starter/StarterForm.cs
r3113 r3289 192 192 } 193 193 private static string BuildErrorMessage(Exception ex) { 194 string nl = Environment.NewLine; 194 195 StringBuilder sb = new StringBuilder(); 195 sb.Append( "Sorry, but something went wrong!\n\n" + ex.Message + "\n\n"+ ex.StackTrace);196 sb.Append(ex.Message + nl + ex.StackTrace); 196 197 197 198 while (ex.InnerException != null) { 198 199 ex = ex.InnerException; 199 sb.Append( "\n\n-----\n\n" + ex.Message + "\n\n"+ ex.StackTrace);200 sb.Append(nl + "-----" + nl + ex.Message + nl + ex.StackTrace); 200 201 } 201 202 return sb.ToString();
Note: See TracChangeset
for help on using the changeset viewer.