InvalidSqlFloatValueException Class
Exception thrown when an attempt is made to insert an invalid floating-point value,
such as NaN or Infinity, into a SQL Server FLOAT column.
public sealed class InvalidSqlFloatValueException : HAKOM.ErrorHandling.Core.Net.Api.HakomExceptionInheritance System.Object 🡒 System.Exception 🡒 HakomException 🡒 InvalidSqlFloatValueException
Remarks
Section titled “Remarks”Some data bases do not support storing special double values like
double.NaN, double.PositiveInfinity, or double.NegativeInfinity.
Attempting to insert such values will result in a DbException. Ensure that any
floating-point value written to a SQL FLOAT column is a finite number before
calling the store method.
This exception is identified by error code HK12045.
Properties
Section titled “Properties”InvalidSqlFloatValueException.EquivalentHttpStatusCode Property
Section titled “InvalidSqlFloatValueException.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!