# RedisStorageException Constructors

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.persistence.redis/orleans.persistence.redis.redisstorageexception/)

## RedisStorageException {#constructor-97dedf11}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.persistence.redis/orleans.persistence.redis.redisstorageexception/constructors/constructor-97dedf11/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Redis/Orleans.Persistence.Redis/Storage/RedisStorageException.cs#L15-L17)

```csharp
public RedisStorageException()
```

Initializes a new instance of [RedisStorageException](/orleans/docs/api/csharp/microsoft.orleans.persistence.redis/orleans.persistence.redis.redisstorageexception/).

## RedisStorageException(string) {#constructor-string-eac3eda3}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.persistence.redis/orleans.persistence.redis.redisstorageexception/constructors/constructor-string-eac3eda3/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Redis/Orleans.Persistence.Redis/Storage/RedisStorageException.cs#L23-L25)

```csharp
public RedisStorageException(string message)
```

Initializes a new instance of [RedisStorageException](/orleans/docs/api/csharp/microsoft.orleans.persistence.redis/orleans.persistence.redis.redisstorageexception/).

### Parameters

- `message` (`string`): The error message that explains the reason for the exception.

## RedisStorageException(string, Exception) {#constructor-string-system-exception-b35a43b0}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.persistence.redis/orleans.persistence.redis.redisstorageexception/constructors/constructor-string-system-exception-b35a43b0/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Redis/Orleans.Persistence.Redis/Storage/RedisStorageException.cs#L32-L34)

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

Initializes a new instance of [RedisStorageException](/orleans/docs/api/csharp/microsoft.orleans.persistence.redis/orleans.persistence.redis.redisstorageexception/).

### Parameters

- `message` (`string`): The error message that explains the reason for the exception.
- `inner` (`Exception`): The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
