Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/23/15 16:14:30 (9 years ago)
Author:
gkronber
Message:

#2522:

  • moved UI components out of HeuristicLab.PluginInfrastructure -> HeuristicLab.PluginInfrastructure.UI
  • moved ErrorDialog to HeuristicLab.MainForm.WindowsForms
  • moved ErrorHandling (for building an error message string) to HeuristicLab.Common
  • Changed exception handlers in Views to use MainForm.ShowError()
  • Changed usages for ErrorDialog in non-UI components to throw exceptions instead.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/RefactorPluginInfrastructure-2522/HeuristicLab.Data.Views/3.3/Path Views/TextFileView.cs

    r12012 r13338  
    225225          }
    226226        }
    227       }
    228       catch (Exception e) {
    229         ErrorHandling.ShowErrorDialog(e);
     227      } catch (Exception e) {
     228        MainFormManager.MainForm.ShowError(e.Message, e);
    230229      }
    231230      return fileContent;
     
    239238          }
    240239        }
    241       }
    242       catch (Exception e) {
    243         ErrorHandling.ShowErrorDialog(e);
     240      } catch (Exception e) {
     241        MainFormManager.MainForm.ShowError(e.Message, e);
    244242      }
    245243    }
Note: See TracChangeset for help on using the changeset viewer.