# Rethrow

> `System.Activities.Statements.Rethrow`

`System.Activities.Statements.Rethrow`

Rethrows a previously thrown exception from within a **Catch** block of a [Try Catch](https://docs.uipath.com/activities/other/latest/workflow/try-catch) activity. **Rethrow** is typically used when the catch block performs some recovery work (for example, logging) and the original exception must continue propagating up the call stack so an outer handler can deal with it.

**Rethrow** can only be used inside the **Catches** section of a **Try Catch** activity.

## Project compatibility

**Windows - Legacy** | **Windows** | **Cross-Platform**

## Properties

### Common

| Parameter | Description |
| --- | --- |
| **DisplayName** | The display name of the activity. |

### Misc

| Parameter | Description |
| --- | --- |
| **Private** | When selected, the values of variables and arguments are no longer logged at Verbose level. |

This activity is built by Microsoft. For more information, see [their official documentation](https://learn.microsoft.com/en-us/dotnet/api/system.activities.statements.rethrow?view=netframework-4.8.1).
