Free cookie consent management tool by TermsFeed Policy Generator

Changeset 8197


Ignore:
Timestamp:
07/03/12 14:39:40 (12 years ago)
Author:
sforsten
Message:

#1782: removed unnecessary try catch block in ProblemInstanceProviderViewGeneric when loading a problem instance

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.Instances.Views/3.3/ProblemInstanceProviderViewGeneric.cs

    r8196 r8197  
    9090        var descriptor = (IDataDescriptor)instancesComboBox.SelectedItem;
    9191        T instance = Content.LoadData(descriptor);
    92         try {
    93           GenericConsumer.Load(instance);
    94         }
    95         catch (Exception ex) {
    96           MessageBox.Show(String.Format("This problem does not support loading the instance {0}: {1}", descriptor.Name, Environment.NewLine + ex.Message), "Cannot load instance");
    97         }
     92        GenericConsumer.Load(instance);
    9893      }
    9994    }
Note: See TracChangeset for help on using the changeset viewer.