Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/04/17 17:19:35 (7 years ago)
Author:
gkronber
Message:

#2520: changed all usages of StorableClass to use StorableType with an auto-generated GUID (did not add StorableType to other type definitions yet)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PersistenceReintegration/HeuristicLab.Core.Views/3.3/Clipboard.cs

    r14185 r14927  
    5656            }
    5757          }
    58         }
    59         catch (Exception ex) {
     58        } catch (Exception ex) {
    6059          throw new ArgumentException(string.Format("Invalid items path \"{0}\".", itemsPath), ex);
    6160        }
     
    158157          T item = XmlParser.Deserialize<T>(filename);
    159158          OnItemLoaded(item, progressBar.Maximum / items.Length);
    160         }
    161         catch (Exception) { }
     159        } catch (Exception) { }
    162160      }
    163161      OnAllItemsLoaded();
     
    201199          XmlGenerator.Serialize(item, ItemsPath + Path.DirectorySeparatorChar + i.ToString("00000000") + ".hl", CompressionLevel.Optimal);
    202200          OnItemSaved(item, progressBar.Maximum / listView.Items.Count);
    203         }
    204         catch (Exception) { }
    205         finally {
     201        } catch (Exception) { } finally {
    206202          SetEnabledStateOfContentViews(item, true);
    207203        }
     
    330326              AddItem(item);
    331327          }
    332         }
    333         catch (Exception ex) {
     328        } catch (Exception ex) {
    334329          ErrorHandling.ShowErrorDialog(this, ex);
    335330        }
     
    350345        try {
    351346          AddItem((T)typeSelectorDialog.TypeSelector.CreateInstanceOfSelectedType());
    352         }
    353         catch (Exception ex) {
     347        } catch (Exception ex) {
    354348          ErrorHandling.ShowErrorDialog(this, ex);
    355349        }
Note: See TracChangeset for help on using the changeset viewer.