# DataValidationException Class

Namespace: [PIX.QMSAPI.Exceptions](https://help.qlik.com/en-US/qlikview-developer/September2025/Subsystems/QMSAPIref/Content/PIX.QMSAPI.Exceptions.htm)  
Assembly: PIX.dll

Represents the result of a failed validation.

## Inheritance

* System.Object
  * System.Exception
    * DataValidationException

## Syntax

```
public class DataValidationException : Exception, ISerializable, _Exception
```

## Constructors

| Name | Description |
| --- | --- |
| [DataValidationException()](https://help.qlik.com/en-US/qlikview-developer/September2025/Subsystems/QMSAPIref/Content/PIX.QMSAPI.Exceptions.DataValidationException.-ctor.htm#PIX_QMSAPI_Exceptions_DataValidationException__ctor) |  |
| [DataValidationException(Type)](https://help.qlik.com/en-US/qlikview-developer/September2025/Subsystems/QMSAPIref/Content/PIX.QMSAPI.Exceptions.DataValidationException.-ctor.htm#PIX_QMSAPI_Exceptions_DataValidationException__ctor_System_Type_) |  |
| [DataValidationException(Type, IEnumerable<String>)](https://help.qlik.com/en-US/qlikview-developer/September2025/Subsystems/QMSAPIref/Content/PIX.QMSAPI.Exceptions.DataValidationException.-ctor.htm#PIX_QMSAPI_Exceptions_DataValidationException__ctor_System_Type_System_Collections_Generic_IEnumerable_System_String__) |  |

## Properties

| Name | Description |
| --- | --- |
| [Message](https://help.qlik.com/en-US/qlikview-developer/September2025/Subsystems/QMSAPIref/Content/PIX.QMSAPI.Exceptions.DataValidationException.Message.htm#PIX_QMSAPI_Exceptions_DataValidationException_Message) | A summary of the validation. |
| [Messages](https://help.qlik.com/en-US/qlikview-developer/September2025/Subsystems/QMSAPIref/Content/PIX.QMSAPI.Exceptions.DataValidationException.Messages.htm#PIX_QMSAPI_Exceptions_DataValidationException_Messages) | Validation messages. |
| [ValidatedType](https://help.qlik.com/en-US/qlikview-developer/September2025/Subsystems/QMSAPIref/Content/PIX.QMSAPI.Exceptions.DataValidationException.ValidatedType.htm#PIX_QMSAPI_Exceptions_DataValidationException_ValidatedType) | The type that was validated. |

## Methods

| Name | Description |
| --- | --- |
| [GetObjectData(SerializationInfo, StreamingContext)](https://help.qlik.com/en-US/qlikview-developer/September2025/Subsystems/QMSAPIref/Content/PIX.QMSAPI.Exceptions.DataValidationException.GetObjectData.htm#PIX_QMSAPI_Exceptions_DataValidationException_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_) |  |

### Extension Methods

[ApiFilter.FilterFor<T>(T, Nullable<ApiVersion>)](https://help.qlik.com/en-US/qlikview-developer/September2025/Subsystems/QMSAPIref/Content/PIX.ApiFiltering.ApiFilter.FilterFor.htm#PIX_ApiFiltering_ApiFilter_FilterFor__1___0_System_Nullable_PIX_ApiVersion__)