# CacheFullException.CacheFullException(string, Exception)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.cachefullexception/) | [Constructors](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.cachefullexception/constructors/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Streaming/QueueAdapters/DataNotAvailableException.cs#L67)

```csharp
public CacheFullException(string message, Exception inner)
```

Initializes a new instance of the [CacheFullException](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.cachefullexception/) class.

### Parameters

- `message` (`string`): The message.
- `inner` (`Exception`): The inner.
