Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/23/15 16:14:30 (9 years ago)
Author:
gkronber
Message:

#2522:

  • moved UI components out of HeuristicLab.PluginInfrastructure -> HeuristicLab.PluginInfrastructure.UI
  • moved ErrorDialog to HeuristicLab.MainForm.WindowsForms
  • moved ErrorHandling (for building an error message string) to HeuristicLab.Common
  • Changed exception handlers in Views to use MainForm.ShowError()
  • Changed usages for ErrorDialog in non-UI components to throw exceptions instead.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/RefactorPluginInfrastructure-2522/HeuristicLab.Problems.TestFunctions/3.3/SingleObjectiveTestFunctionProblem.cs

    r12504 r13338  
    316316      Evaluator.PointParameter.ActualName = SolutionCreator.RealVectorParameter.ActualName;
    317317      Evaluator.PointParameter.Hidden = true;
    318       try {
    319         BestKnownSolutionParameter.Value = Evaluator.GetBestKnownSolution(ProblemSize.Value);
    320       }
    321       catch (ArgumentException e) {
    322         ErrorHandling.ShowErrorDialog(e);
    323         ProblemSize.Value = Evaluator.MinimumProblemSize;
    324       }
     318      BestKnownSolutionParameter.Value = Evaluator.GetBestKnownSolution(ProblemSize.Value);
    325319    }
    326320    private void ParameterizeOperators() {
Note: See TracChangeset for help on using the changeset viewer.