Skip to content
Documentation

ColumnIsNullException Class

Thrown when attempting to read null values with not-nullable return types.

public sealed class ColumnIsNullException : HAKOM.ErrorHandling.Core.Net.Api.HakomException

Inheritance System.Object 🡒 System.Exception 🡒 HakomException 🡒 ColumnIsNullException

When using any Read* method in SqlStorageProvider<TConnection,TCommand,TNativeParameter,TReader,TParameter,TParameterFactory> without the “nullValue” parameter and an expected not-nullable return value, this exception is thrown if the read value is null. Either change the expected return value to a nullable type, provide the “nullValue” parameter to return a default not-nullable value if the read column is null, or ensure that the column will not return a null value when read.

This exception is identified by error code HK12025.

ColumnIsNullException.EquivalentHttpStatusCode Property

Section titled “ColumnIsNullException.EquivalentHttpStatusCode Property”

When unhandled within an HTTP request, this exception produces HTTP 500 (Internal Server Error).

protected override System.Net.HttpStatusCode EquivalentHttpStatusCode { protected get; }

System.Net.HttpStatusCode

© 2026 Volue.Version v0.6.38017 November 2026