- Timestamp:
- 10/15/08 00:08:31 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.1/sources/HeuristicLab.AdvancedOptimizationFrontend/MainForm.cs
r2 r664 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.