public static string GetExceptionDetailsRecursively(Exception e) { StringBuilder sb = new StringBuilder(); while (e != null) { sb.Append("Inner :"); sb.Append(e.Message); sb.Append("\t"); e = e.InnerException; } return sb.ToString(); }
Monday, March 11, 2013
Get Exception details recursively
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment