Changeset 659
- Timestamp:
- 10/14/08 23:59:47 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.AdvancedOptimizationFrontend/MainForm.cs
r639 r659 31 31 using HeuristicLab.PluginInfrastructure; 32 32 using HeuristicLab.Core; 33 using System.IO; 33 34 34 35 namespace HeuristicLab.AdvancedOptimizationFrontend { … … 140 141 private void AsynchronousLoad(object state) { 141 142 Task task = (Task)state; 142 task.storable = PersistenceManager.Load(task.filename); 143 try { 144 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.", 147 "Reader Error", MessageBoxButtons.OK, MessageBoxIcon.Error); 148 } 143 149 LoadFinished(task); 144 150 }
Note: See TracChangeset
for help on using the changeset viewer.