# DataValidationException Constructor

## Overloads

| [DataValidationException()](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.Exceptions.DataValidationException.-ctor.htm#PIX_QMSAPI_Exceptions_DataValidationException__ctor) |  |  |
| --- | --- | --- |
| [DataValidationException(Type)](https://help.qlik.com/en-US/qlikview-developer/September2026/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/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.Exceptions.DataValidationException.-ctor.htm#PIX_QMSAPI_Exceptions_DataValidationException__ctor_System_Type_System_Collections_Generic_IEnumerable_System_String__) |  |  |

[](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.QMSAPI.Exceptions.DataValidationException.-ctor.htm) [](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.QMSAPI.Exceptions.DataValidationException.-ctor.htm)

## DataValidationException()

### Declaration

```

          public DataValidationException()
    
  
```

[](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.QMSAPI.Exceptions.DataValidationException.-ctor.htm) [](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.QMSAPI.Exceptions.DataValidationException.-ctor.htm)

## DataValidationException(Type)

### Declaration

```

          public DataValidationException(Type validatedType)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.Type | validatedType |  |

[](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.QMSAPI.Exceptions.DataValidationException.-ctor.htm) [](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.QMSAPI.Exceptions.DataValidationException.-ctor.htm)

## DataValidationException(Type, IEnumerable&lt;String&gt;)

### Declaration

```
public DataValidationException(Type validatedType, IEnumerable<string> messages)
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.Type | validatedType |  |
| System.Collections.Generic.IEnumerable&lt;System.String&gt; | messages |  |