Free cookie consent management tool by TermsFeed Policy Generator

Changeset 14298


Ignore:
Timestamp:
09/21/16 10:13:51 (8 years ago)
Author:
gkronber
Message:

#2661: catch and handle all Exceptions because otherwise they are swallowed by the TPL

File:
1 edited

Legend:

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

    r14286 r14298  
    6060            instance = Content.ImportData(importTypeDialog.Path, importTypeDialog.ImportType,
    6161              importTypeDialog.CSVFormat);
    62           } catch (IOException ex) {
     62          } catch (Exception ex) {
    6363            ErrorWhileParsing(ex);
    6464            return;
     
    6969          try {
    7070            GenericConsumer.Load(instance);
    71           } catch (IOException ex) {
     71          } catch (Exception ex) {
    7272            ErrorWhileLoading(ex, importTypeDialog.Path);
    7373          } finally {
Note: See TracChangeset for help on using the changeset viewer.