Changeset 13338 for branches/RefactorPluginInfrastructure-2522/HeuristicLab.Optimization.Views/3.3/MultiEncodingView.cs
- Timestamp:
- 11/23/15 16:14:30 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/RefactorPluginInfrastructure-2522/HeuristicLab.Optimization.Views/3.3/MultiEncodingView.cs
r11963 r13338 82 82 encoding = (IEncoding)Activator.CreateInstance(dialog.EncodingType, dialog.EncodingName); 83 83 } catch (MissingMethodException mmex) { 84 PluginInfrastructure.ErrorHandling.ShowErrorDialog("The encoding must have a constructor that takes the name as a single string argument", mmex);84 MainFormManager.MainForm.ShowError("The encoding must have a constructor that takes the name as a single string argument", mmex); 85 85 return; 86 86 } catch (TargetInvocationException tiex) { 87 PluginInfrastructure.ErrorHandling.ShowErrorDialog("The encoding could not be created due to an error in the constructor.", tiex);87 MainFormManager.MainForm.ShowError("The encoding could not be created due to an error in the constructor.", tiex); 88 88 return; 89 89 } catch (MethodAccessException maex) { 90 PluginInfrastructure.ErrorHandling.ShowErrorDialog("The encoding's string constructor is not public.", maex);90 MainFormManager.MainForm.ShowError("The encoding's string constructor is not public.", maex); 91 91 return; 92 92 }
Note: See TracChangeset
for help on using the changeset viewer.