/// <summary>
 /// Displays the details of an exception.
 /// </summary>
 public static void HandleException(string caption, MethodBase method, Exception e)
 {
     if (String.IsNullOrEmpty(caption))
     {
         caption = method.Name;
     }
     ExceptionDlg.Show(caption, e);
 }
예제 #2
0
 /// <summary>
 /// Handles an exception.
 /// </summary>
 public static void HandleException(string caption, Exception e)
 {
     ExceptionDlg.Show(caption, e);
 }