Free cookie consent management tool by TermsFeed Policy Generator

Changeset 16579


Ignore:
Timestamp:
01/29/19 10:02:05 (6 years ago)
Author:
gkronber
Message:

#2520: try fall-back to old persistence for all exceptions that might occur in persistence

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/HeuristicLab.Core/3.3/PersistenceContentManager.cs

    r16565 r16579  
    2424using HeuristicLab.Persistence.Default.Xml;
    2525using HEAL.Attic;
     26using System;
    2627
    2728namespace HeuristicLab.Core {
     
    3435        var ser = new ProtoBufSerializer();
    3536        return (IStorableContent)ser.Deserialize(filename);
    36       } catch (PersistenceException e) {
     37      } catch (Exception) {
    3738        // try old format if new format fails
    3839        return XmlParser.Deserialize<IStorableContent>(filename);
Note: See TracChangeset for help on using the changeset viewer.