TimeSeriesValidationException Class
HAKOM.TSM.Net.Api.TimeSeries.Persistence.Exceptions
Section titled “HAKOM.TSM.Net.Api.TimeSeries.Persistence.Exceptions”Abstract class for all time series validation exceptions.
public abstract class TimeSeriesValidationException : HAKOM.ErrorHandling.Core.Net.Api.HakomExceptionInheritance System.Object 🡒 System.Exception 🡒 HakomException 🡒 TimeSeriesValidationException
Derived
↳ NonCyclicStepLeftFunctionDataIsNotSupportedException
↳ InvalidTimeSeriesNameException
↳ NonCyclicTimeSeriesCompressionNotSupportedException
↳ PreserveHistoricDataOnFormulaTimeSeriesNotSupportedException
↳ PreservingHistoricDataWithoutAuditLogsNotPossibleException
Remarks
Section titled “Remarks”This base class groups exceptions that are thrown when a time series fails validation during a save or data operation. Check the concrete exception type for specific information about which property failed validation and how to correct it.
Constructors
Section titled “Constructors”TimeSeriesValidationException(string, string) Constructor
Section titled “TimeSeriesValidationException(string, string) Constructor”Generates an exception with message indicating which property of the time series failed validation and adds a custom message.
protected TimeSeriesValidationException(string property, string message);Parameters
Section titled “Parameters”property System.String
System.String name of the time series property which failed validation.
message System.String
Exception message explaining in detail why the property failed validation.
Properties
Section titled “Properties”TimeSeriesValidationException.EquivalentHttpStatusCode Property
Section titled “TimeSeriesValidationException.EquivalentHttpStatusCode Property”When unhandled within an HTTP request, this exception produces HTTP 400 (Bad Request).
protected override System.Net.HttpStatusCode EquivalentHttpStatusCode { protected get; }