- Timestamp:
- 06/01/17 15:15:25 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PersistenceReintegration/HeuristicLab.Persistence/4.0/Core/Mapper.cs
r14771 r15020 134 134 135 135 public object CreateInstance(Type type) { 136 return StaticCache.GetTypeInfo(type).GetConstructor()(); 136 try { 137 return StaticCache.GetTypeInfo(type).GetConstructor()(); 138 } catch (Exception e) { 139 throw new PersistenceException("Deserialization failed.", e); 140 } 137 141 } 138 142
Note: See TracChangeset
for help on using the changeset viewer.