Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/16/21 17:16:25 (3 years ago)
Author:
dpiringe
Message:

#3026

  • adjusted the necessary plugin dependencies for all three JsonInterface projects (depending on CheckPluginDependenciesForReferencedAssemblies and CheckReferenceAssembliesForPluginDependencies tests)
  • using now the error handling dialog in FileManager
  • added a AggregateException in RegressionProblemDataConverter for unconvertable values
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface/Converters/RegressionProblemDataConverter.cs

    r18043 r18044  
    244244
    245245        int r = 0;
    246         foreach (var callValue in x.Value) {
    247           matrix[c][r] = (T)callValue;
     246        foreach (var cellValue in x.Value) {
     247          try {
     248            matrix[c][r] = (T)cellValue;
     249          } catch (Exception e) {
     250            throw new AggregateException($"The cell value '{cellValue}' in row {r} cannot be converted to {typeof(T).FullName}.", e);
     251          }
    248252          ++r;
    249253        }
Note: See TracChangeset for help on using the changeset viewer.