Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/23/09 14:22:29 (15 years ago)
Author:
epitzer
Message:

Added PersistenceException used consistently for all error conditions in the persistence framework (#548)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Persistence/3.3/Core/Serializer.cs

    r1566 r1625  
    44using HeuristicLab.Persistence.Interfaces;
    55using HeuristicLab.Persistence.Core.Tokens;
     6using HeuristicLab.Persistence.Default.Decomposers.Storable;
    67
    78namespace HeuristicLab.Persistence.Core {
     
    7374      if (decomposer != null)
    7475        return CompositeEnumerator(accessor.Name, decomposer.Decompose(value), id, typeId, decomposer.CreateMetaInfo(value));
    75       throw new ApplicationException(
     76      throw new PersistenceException(
    7677          String.Format(
    7778          "No suitable method for serializing values of type \"{0}\" found.",
Note: See TracChangeset for help on using the changeset viewer.