Free cookie consent management tool by TermsFeed Policy Generator

Changeset 676


Ignore:
Timestamp:
10/16/08 13:27:24 (16 years ago)
Author:
gkronber
Message:

fixed #303 (again)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.AdvancedOptimizationFrontend/MainForm.cs

    r659 r676  
    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.