Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/06/15 14:42:48 (9 years ago)
Author:
mkommend
Message:

#2174: Distributed files in programmable problem branch to the correct plugins.

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  
    2323using System.Collections.Generic;
    2424using System.Windows.Forms;
     25using HeuristicLab.Optimization;
    2526using HeuristicLab.PluginInfrastructure;
    2627
  • branches/ProgrammableProblem/HeuristicLab.Problems.Programmable.Views/3.3/MultiEncodingView.cs

    r11892 r11949  
    2828using HeuristicLab.Core.Views;
    2929using HeuristicLab.MainForm;
     30using HeuristicLab.Optimization;
    3031
    3132namespace HeuristicLab.Problems.Programmable.Views {
     
    8182          try {
    8283            encoding = (IEncoding)Activator.CreateInstance(dialog.EncodingType, dialog.EncodingName);
    83           } catch (MissingMethodException mmex) {
     84          }
     85          catch (MissingMethodException mmex) {
    8486            PluginInfrastructure.ErrorHandling.ShowErrorDialog(
    8587              "The encoding must have a constructor that takes the name as a single string argument", mmex);
    8688            return;
    87           } catch (TargetInvocationException tiex) {
     89          }
     90          catch (TargetInvocationException tiex) {
    8891            PluginInfrastructure.ErrorHandling.ShowErrorDialog("The encoding could not be created due to an error in the constructor.", tiex);
    8992            return;
    90           } catch (MethodAccessException maex) {
     93          }
     94          catch (MethodAccessException maex) {
    9195            PluginInfrastructure.ErrorHandling.ShowErrorDialog("The encoding's string constructor is not public.", maex);
    9296            return;
Note: See TracChangeset for help on using the changeset viewer.