- Timestamp:
- 02/06/15 14:42:48 (10 years ago)
- Location:
- branches/ProgrammableProblem/HeuristicLab.Problems.Programmable.Views/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ProgrammableProblem/HeuristicLab.Problems.Programmable.Views/3.3/CreateNewSingleEncodingDialog.cs
r11892 r11949 23 23 using System.Collections.Generic; 24 24 using System.Windows.Forms; 25 using HeuristicLab.Optimization; 25 26 using HeuristicLab.PluginInfrastructure; 26 27 -
branches/ProgrammableProblem/HeuristicLab.Problems.Programmable.Views/3.3/MultiEncodingView.cs
r11892 r11949 28 28 using HeuristicLab.Core.Views; 29 29 using HeuristicLab.MainForm; 30 using HeuristicLab.Optimization; 30 31 31 32 namespace HeuristicLab.Problems.Programmable.Views { … … 81 82 try { 82 83 encoding = (IEncoding)Activator.CreateInstance(dialog.EncodingType, dialog.EncodingName); 83 } catch (MissingMethodException mmex) { 84 } 85 catch (MissingMethodException mmex) { 84 86 PluginInfrastructure.ErrorHandling.ShowErrorDialog( 85 87 "The encoding must have a constructor that takes the name as a single string argument", mmex); 86 88 return; 87 } catch (TargetInvocationException tiex) { 89 } 90 catch (TargetInvocationException tiex) { 88 91 PluginInfrastructure.ErrorHandling.ShowErrorDialog("The encoding could not be created due to an error in the constructor.", tiex); 89 92 return; 90 } catch (MethodAccessException maex) { 93 } 94 catch (MethodAccessException maex) { 91 95 PluginInfrastructure.ErrorHandling.ShowErrorDialog("The encoding's string constructor is not public.", maex); 92 96 return;
Note: See TracChangeset
for help on using the changeset viewer.