Changeset 8885 for trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis.Views/3.3/ClassificationInstanceConsumerView.cs
- Timestamp:
- 11/08/12 16:43:08 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis.Views/3.3/ClassificationInstanceConsumerView.cs
r8877 r8885 48 48 instance = provider.ImportData(importTypeDialog.Path, importTypeDialog.ImportType, importTypeDialog.CSVFormat); 49 49 } 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); 52 52 return; 53 53 } … … 55 55 GenericConsumer.Load(instance); 56 56 } 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); 59 59 } 60 60 } else {
Note: See TracChangeset
for help on using the changeset viewer.