# CacheFullException Constructors

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

## CacheFullException {#constructor-d288e73d}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.cachefullexception/constructors/constructor-d288e73d/)

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

```csharp
public CacheFullException()
```

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

## CacheFullException(string) {#constructor-string-379f41c7}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.cachefullexception/constructors/constructor-string-379f41c7/)

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

```csharp
public CacheFullException(string message)
```

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

### Parameters

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

## CacheFullException(string, Exception) {#constructor-string-system-exception-7d58cf64}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.cachefullexception/constructors/constructor-string-system-exception-7d58cf64/)

[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.
