# PoolingException

> Represents an Exception thrown by the pooling subsystem.

## Definition

* **Type:** Class
* **Namespace:** [Unity.SmartStrings.Pooling](/engine/6000.7/script-reference/unity/smartstrings/pooling.md)
* **Assembly:** UnityEngine.SmartStringsModule
* **Inherits from:** [InvalidOperationException](https://learn.microsoft.com/dotnet/api/system.invalidoperationexception)
* **Implements:** [ISerializable](https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable)

```csharp
public class PoolingException : InvalidOperationException, ISerializable
```

## Constructors

| Constructor                                                                                                                        | Description                                                                                                                 |
| ---------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- |
| [PoolingException(System.String,System.Type)](/engine/6000.7/script-reference/unity/smartstrings/pooling/poolingexception/ctor.md) | Creates a instance of a [PoolingException](/engine/6000.7/script-reference/unity/smartstrings/pooling/poolingexception.md). |

## Properties

| Property                                                                                            | Description                                       |
| --------------------------------------------------------------------------------------------------- | ------------------------------------------------- |
| [PoolType](/engine/6000.7/script-reference/unity/smartstrings/pooling/poolingexception/pooltype.md) | Gets the type of pool, which threw the exception. |

## Inheritance

**Inherited Members:**

* [Exception.GetBaseException()](https://learn.microsoft.com/dotnet/api/system.exception.getbaseexception)
* [Exception.GetObjectData(SerializationInfo, StreamingContext)](https://learn.microsoft.com/dotnet/api/system.exception.getobjectdata)
* [Exception.ToString()](https://learn.microsoft.com/dotnet/api/system.exception.tostring)
* [Exception.GetType()](https://learn.microsoft.com/dotnet/api/system.exception.gettype)
* [Exception.TargetSite()](https://learn.microsoft.com/dotnet/api/system.exception.targetsite)
* [Exception.Message()](https://learn.microsoft.com/dotnet/api/system.exception.message)
* [Exception.Data()](https://learn.microsoft.com/dotnet/api/system.exception.data)
* [Exception.InnerException()](https://learn.microsoft.com/dotnet/api/system.exception.innerexception)
* [Exception.HelpLink()](https://learn.microsoft.com/dotnet/api/system.exception.helplink)
* [Exception.Source()](https://learn.microsoft.com/dotnet/api/system.exception.source)
* [Exception.HResult()](https://learn.microsoft.com/dotnet/api/system.exception.hresult)
* [Exception.StackTrace()](https://learn.microsoft.com/dotnet/api/system.exception.stacktrace)
* [Exception.SerializeObjectState()](https://learn.microsoft.com/dotnet/api/system.exception.serializeobjectstate)
