Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/08/12 16:43:08 (11 years ago)
Author:
sforsten
Message:

#1942:

  • implemented changes suggested by mkommend in comment:15:ticket:1942 except the first remark
  • TimeSeriesPrognosisInstanceProvider has been adapted to work similar to other DataAnalysisInstanceProvider, also views have been created for it
File:
1 edited

Legend:

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

    r8877 r8885  
    4848            instance = provider.ImportData(importTypeDialog.Path, importTypeDialog.ImportType, importTypeDialog.CSVFormat);
    4949          }
    50           catch (Exception ex) {
    51             MessageBox.Show(String.Format("There was an error parsing the file: {0}", Environment.NewLine + ex.Message), "Error while parsing", MessageBoxButtons.OK, MessageBoxIcon.Error);
     50          catch (IOException ex) {
     51            ErrorWhileParsing(ex);
    5252            return;
    5353          }
     
    5555            GenericConsumer.Load(instance);
    5656          }
    57           catch (Exception ex) {
    58             MessageBox.Show(String.Format("This problem does not support loading the instance {0}: {1}", Path.GetFileName(importTypeDialog.Path), Environment.NewLine + ex.Message), "Cannot load instance");
     57          catch (IOException ex) {
     58            ErrorWhileLoading(ex, importTypeDialog.Path);
    5959          }
    6060        } else {
Note: See TracChangeset for help on using the changeset viewer.