Free cookie consent management tool by TermsFeed Policy Generator

Changeset 689 for branches


Ignore:
Timestamp:
10/19/08 00:42:50 (16 years ago)
Author:
gkronber
Message:

merged r676 into the 3.1 branch (#303)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.1/sources/HeuristicLab.AdvancedOptimizationFrontend/MainForm.cs

    r664 r689  
    143143      try {
    144144        task.storable = PersistenceManager.Load(task.filename);
    145       } catch(FileNotFoundException ex) {
    146         MessageBox.Show("Sorry couldn't open file \"" + task.filename + "\".\nThe file or plugin \"" + ex.FileName+ "\" is not available.\nPlease make sure you have all necessary plugins installed.",
     145      } catch(FileNotFoundException fileNotFoundEx) {
     146        MessageBox.Show("Sorry couldn't open file \"" + task.filename + "\".\nThe file or plugin \"" + fileNotFoundEx.FileName + "\" is not available.\nPlease make sure you have all necessary plugins installed.",
     147          "Reader Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
     148      } catch(TypeLoadException typeLoadEx) {
     149        MessageBox.Show("Sorry couldn't open file \"" + task.filename + "\".\nThe type \"" + typeLoadEx.TypeName+ "\" is not available.\nPlease make sure that you have the correct version the plugin installed.",
    147150          "Reader Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
    148151      }
Note: See TracChangeset for help on using the changeset viewer.