UnknownTimeBaseException Class
HAKOM.TSM.Net.Api.Time.TimeBases.Exceptions
Section titled “HAKOM.TSM.Net.Api.Time.TimeBases.Exceptions”This exception should be thrown when an undefined time base would be created.
public sealed class UnknownTimeBaseException : HAKOM.ErrorHandling.Core.Net.Api.HakomExceptionInheritance System.Object 🡒 System.Exception 🡒 HakomException 🡒 UnknownTimeBaseException
Remarks
Section titled “Remarks”Creating a TimeBase with an unknown identifier throws this exception. Known default identifiers are:
- 0 = HakomSecond
- 1 = UnixSecond
- 2 = UnixMillisecond
This exception is identified by error code HK15002.
Properties
Section titled “Properties”UnknownTimeBaseException.EquivalentHttpStatusCode Property
Section titled “UnknownTimeBaseException.EquivalentHttpStatusCode Property”When unhandled within an HTTP request, this exception produces HTTP 400 (Bad Request).
protected override System.Net.HttpStatusCode EquivalentHttpStatusCode { protected get; }Property Value
Section titled “Property Value”Was this page helpful?Thanks for your feedback!