Free cookie consent management tool by TermsFeed Policy Generator

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

XML formatters for all primitive numeric types. (#548)

File:
1 edited

Legend:

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

    r1542 r1554  
    107107            }
    108108            Formatters[formatter.Format].Add(formatter);
     109            Logger.Debug("discovered formatter " + t.VersionInvariantName());
    109110          } catch (MissingMethodException e) {
    110111            Logger.Warn("Could not instantiate " + t.VersionInvariantName(), e);           
    111           }         
     112          } catch (ArgumentException e) {
     113            Logger.Warn("Could not instantiate " + t.VersionInvariantName(), e);
     114          }
    112115        }
    113116        if (t.GetInterface(typeof (IDecomposer).FullName) != null) {
    114117          try {
    115118            Decomposers.Add((IDecomposer) Activator.CreateInstance(t, true));
     119            Logger.Debug("discovered decomposer " + t.VersionInvariantName());
    116120          } catch (MissingMethodException e) {
    117             Logger.Warn("Could not instantiate " + t.VersionInvariantName(), e);           
     121            Logger.Warn("Could not instantiate " + t.VersionInvariantName(), e);         
     122          } catch (ArgumentException e) {
     123            Logger.Warn("Could not instantiate " + t.VersionInvariantName(), e);
    118124          }
    119125        }
Note: See TracChangeset for help on using the changeset viewer.