# ClusteringConformanceException.ClusteringConformanceException(string, Exception)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.clustering.testkit/orleans.clustering.testkit.clusteringconformanceexception/) | [Constructors](/orleans/docs/api/csharp/microsoft.orleans.clustering.testkit/orleans.clustering.testkit.clusteringconformanceexception/constructors/)

[Source](https://github.com/dotnet/orleans/blob/8bc9fd244427351ad24ccc039a9e7642a42c1cc4/src/Orleans.Clustering.TestKit/ClusteringTestKitDiagnostics.cs#L10)

```csharp
public ClusteringConformanceException(string message, Exception innerException)
```

Creates a conformance failure retaining the underlying operation failure.

### Parameters

- `message` (`string`)
- `innerException` (`Exception`)
