- Timestamp:
- 05/04/17 17:19:35 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PersistenceReintegration/HeuristicLab.Core.Views/3.3/Clipboard.cs
r14185 r14927 56 56 } 57 57 } 58 } 59 catch (Exception ex) { 58 } catch (Exception ex) { 60 59 throw new ArgumentException(string.Format("Invalid items path \"{0}\".", itemsPath), ex); 61 60 } … … 158 157 T item = XmlParser.Deserialize<T>(filename); 159 158 OnItemLoaded(item, progressBar.Maximum / items.Length); 160 } 161 catch (Exception) { } 159 } catch (Exception) { } 162 160 } 163 161 OnAllItemsLoaded(); … … 201 199 XmlGenerator.Serialize(item, ItemsPath + Path.DirectorySeparatorChar + i.ToString("00000000") + ".hl", CompressionLevel.Optimal); 202 200 OnItemSaved(item, progressBar.Maximum / listView.Items.Count); 203 } 204 catch (Exception) { } 205 finally { 201 } catch (Exception) { } finally { 206 202 SetEnabledStateOfContentViews(item, true); 207 203 } … … 330 326 AddItem(item); 331 327 } 332 } 333 catch (Exception ex) { 328 } catch (Exception ex) { 334 329 ErrorHandling.ShowErrorDialog(this, ex); 335 330 } … … 350 345 try { 351 346 AddItem((T)typeSelectorDialog.TypeSelector.CreateInstanceOfSelectedType()); 352 } 353 catch (Exception ex) { 347 } catch (Exception ex) { 354 348 ErrorHandling.ShowErrorDialog(this, ex); 355 349 }
Note: See TracChangeset
for help on using the changeset viewer.