Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/05/13 11:40:58 (12 years ago)
Author:
mkommend
Message:

#1730: Added necessary plugin dependency and improved error handling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ExportSymbolicDataAnalysisSolutions/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Formatters/SymbolicDataAnalysisExpressionExcelFormatter.cs

    r9584 r9585  
    167167        stringBuilder.Append(")");
    168168
    169       } else if (symbol is HeuristicLab.Problems.DataAnalysis.Symbolic.Variable) {
     169      } else if (symbol is Variable) {
    170170        VariableTreeNode variableTreeNode = node as VariableTreeNode;
    171171        stringBuilder.Append(variableTreeNode.Weight.ToString(CultureInfo.InvariantCulture));
     
    185185        stringBuilder.Append(",0))");
    186186      } else {
    187         stringBuilder.Append("ERROR");
     187        throw new NotImplementedException("Excel export of " + node.Symbol + " is not implemented.");
    188188      }
    189189      return stringBuilder.ToString();
Note: See TracChangeset for help on using the changeset viewer.