Changeset 13338 for branches/RefactorPluginInfrastructure-2522/HeuristicLab.Problems.DataAnalysis.Views/3.4
- Timestamp:
- 11/23/15 16:14:30 (9 years ago)
- Location:
- branches/RefactorPluginInfrastructure-2522/HeuristicLab.Problems.DataAnalysis.Views/3.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/RefactorPluginInfrastructure-2522/HeuristicLab.Problems.DataAnalysis.Views/3.4/FeatureCorrelation/FeatureCorrelationCalculator.cs
r12509 r13338 24 24 using System.ComponentModel; 25 25 using System.Linq; 26 using HeuristicLab.MainForm; 26 27 using HeuristicLab.PluginInfrastructure; 27 28 … … 211 212 if (!e.Cancelled && !worker.CancellationPending) { 212 213 if (e.Error != null) { 213 ErrorHandling.ShowErrorDialog(e.Error);214 MainFormManager.MainForm.ShowError(e.Error.Message, e.Error); 214 215 } else { 215 216 OnCorrelationCalculationFinished((double[,])e.Result, bwInfo.Calculator, bwInfo.Partition, bwInfo.Variable); -
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.