# GatewayTooBusyException Constructors

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.gatewaytoobusyexception/)

## GatewayTooBusyException {#constructor-f7ba6299}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.gatewaytoobusyexception/constructors/constructor-f7ba6299/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core.Abstractions/Exceptions/GatewayTooBusyException.cs#L22-L24)

```csharp
public GatewayTooBusyException()
```

Initializes a new instance of the [GatewayTooBusyException](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.gatewaytoobusyexception/) class.

## GatewayTooBusyException(string) {#constructor-string-c9d13b3b}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.gatewaytoobusyexception/constructors/constructor-string-c9d13b3b/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core.Abstractions/Exceptions/GatewayTooBusyException.cs#L33-L35)

```csharp
public GatewayTooBusyException(string message)
```

Initializes a new instance of the [GatewayTooBusyException](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.gatewaytoobusyexception/) class.

### Parameters

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

## GatewayTooBusyException(string, Exception) {#constructor-string-system-exception-02551d61}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.gatewaytoobusyexception/constructors/constructor-string-system-exception-02551d61/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core.Abstractions/Exceptions/GatewayTooBusyException.cs#L47-L49)

```csharp
public GatewayTooBusyException(string message, Exception innerException)
```

Initializes a new instance of the [GatewayTooBusyException](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.gatewaytoobusyexception/) class.

### Parameters

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