home links tips
code users tools tutorials projects web help design
mudabone
suletzki trans48
nutrition reality
MarthaAttire!
| |
public static string errorToString(Exception e) { System.Text.StringBuilder sb = new System.Text.StringBuilder(); if (e != null) { sb.Append("Error Message: " + e.Message); sb.Append("
"); sb.Append("Source: " + e.Source); sb.Append("
"); sb.Append("Stack: " + "
" + e.StackTrace); sb.Append("Inner Exception: " + "
"); sb.Append(errorUtils.errorToString(e.InnerException)); } return sb.ToString(); }
Last Modified 9/27/04 3:50 PM
| Hide Tools
|