# CodecNotFoundException.CodecNotFoundException(string)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.codecnotfoundexception/) | [Constructors](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.codecnotfoundexception/constructors/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Serialization/Exceptions.cs#L542-L544)

```csharp
public CodecNotFoundException(string message)
```

Initializes a new instance of the [CodecNotFoundException](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.codecnotfoundexception/) class.

### Parameters

- `message` (`string`): The message that describes the error.
