# Copier_AddAndThrowException

Package: [Microsoft.Orleans.Transactions.TestKit.Base](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Transactions.TestKit.Base)

```csharp
public sealed class Copier_AddAndThrowException : ExceptionCopier<AddAndThrowException, Exception>
```

Default copier implementation for (rarely copied) exception classes

## Constructors

- [Copier_AddAndThrowException(ICodecProvider)](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleanscodegen.orleans.transactions.testkit.copier-addandthrowexception/constructors/constructor-orleans-serialization-serializers-icodecprovider-74ef8742/)
