Changeset 13338 for branches/RefactorPluginInfrastructure-2522/HeuristicLab.Problems.DataAnalysis.Views/3.4/Solution Views
- Timestamp:
- 11/23/15 16:14:30 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/RefactorPluginInfrastructure-2522/HeuristicLab.Problems.DataAnalysis.Views/3.4/Solution Views/DataAnalysisSolutionView.cs
r12012 r13338 146 146 solution.Name += " with loaded problemData"; 147 147 MainFormManager.MainForm.ShowContent(solution); 148 } 149 catch (InvalidOperationException invalidOperationException) { 150 ErrorHandling.ShowErrorDialog(this, invalidOperationException); 151 } 152 catch (ArgumentException argumentException) { 153 ErrorHandling.ShowErrorDialog(this, argumentException); 148 } catch (InvalidOperationException invalidOperationException) { 149 MainFormManager.MainForm.ShowError(invalidOperationException.Message, invalidOperationException); 150 } catch (ArgumentException argumentException) { 151 MainFormManager.MainForm.ShowError(argumentException.Message, argumentException); 154 152 } 155 153 } … … 233 231 if (!Content.Name.EndsWith(" with changed problemData")) 234 232 Content.Name += " with changed problemData"; 235 } 236 catch (InvalidOperationException invalidOperationException) { 237 ErrorHandling.ShowErrorDialog(this, invalidOperationException); 238 } 239 catch (ArgumentException argumentException) { 240 ErrorHandling.ShowErrorDialog(this, argumentException); 233 } catch (InvalidOperationException invalidOperationException) { 234 MainFormManager.MainForm.ShowError(invalidOperationException.Message, invalidOperationException); 235 } catch (ArgumentException argumentException) { 236 MainFormManager.MainForm.ShowError(argumentException.Message, argumentException); 241 237 } 242 238 }
Note: See TracChangeset
for help on using the changeset viewer.