HAKOM.TSM.Net.Api.Calculation.Exceptions Namespace
Exceptions thrown during formula compilation and calculation, including cyclic references, missing custom functions, and formula result mismatches.
| Classes | |
|---|---|
| CompilationOfCalculationContextFailedException | When thrown, the compilation of the script which creates a new CalculationContext<TValue> child class failed. |
| CustomFunctionNameMissingException | Indicates that an attempt was made to register a custom function type, which doesn’t have the CustomFunctionNameAttribute. |
| CustomFunctionsNotFoundException | Indicates that a formula used during calculation referred to a custom function but no custom function with this name can be found in the directory. |
| CustomFunctionTypeHasErrorException | Indicates that a formula used during calculation referred to a custom function but the custom function had an compilation error. |
| DefaultRepositoryCannotBeNullException | Thrown when the given defaultRepositoryName is null and the formula time series doesn’t have a repository name in its storage information. |
| FormulaContainsACyclicReferenceException | Thrown when the given formula contains a cyclic reference. |
| FormulaResultCannotBeMatchedToTimeSeriesDataException | The result of the calculated formula cannot be matched to an object of type ITimeSeriesData<TValue>. |
| InstanceOfCustomFunctionCouldNotBeCreatedException | An instance of a custom function could not be created. |
| InvalidTimeSeriesReferenceInFormulaException | Thrown when a time series reference cannot be resolved due to too many dots or commas in the reference. |
| MultipleCustomFunctionsWithTheSameNameException | Indicates that an attempt was made to use a custom function but multiple custom functions have the same name. |
| NoFormulasFoundForPeriodException | Represents an exception thrown when no formula is found for the specified period in the current time series or in one of its referenced time series. |
| TimeSeriesDoesNotContainAFormulaException | Thrown when the given time series isn’t a formula time series (doesn’t contain a formula). |
Was this page helpful?Thanks for your feedback!