# CodecNotFoundException Constructors

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

## CodecNotFoundException(string) {#constructor-string-976adbbb}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.codecnotfoundexception/constructors/constructor-string-976adbbb/)

[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.
