Beispiel #1
0
 public void Show(string caption, Exception exception)
 {
     if (exception is IUserVisibleException)
     {
         Show(CaptionHelper.GetLocalizedText("Texts", "Error"), exception.Message);
     }
     else
     {
         ShowSystemException(caption, exception.Message);
     }
 }
Beispiel #2
0
 public void Show(Exception exception)
 {
     Show((application == null) ? CaptionHelper.GetLocalizedText("Texts", "Error") : application.Title, exception);
 }