# PoolingException(string, Type)

> Creates a instance of a PoolingException.

## Definition

* **Type:** Constructor
* **Namespace:** [Unity.SmartStrings.Pooling](/engine/6000.7/script-reference/unity/smartstrings/pooling.md)
* **Assembly:** UnityEngine.SmartStringsModule

```csharp
public PoolingException(string message, Type poolType)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): **** (\[Type]\(https\://learn.microsoft.com/dotnet/api/system.type)):&#x20;
