# InvalidCodePointException Class

> Is thrown when calling the method MailMerge.MergeJsonData with a JSON string containing an invalid hexadecimal unicode code point.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Class
- **Introduced:** 24.0
- **Namespace:** `TXTextControl.DocumentServer.Json`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXDocumentServer.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.SDK` (assembly `TXDocumentServer.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXDocumentServer.dll` from the setup
- **Inherits:** `System.Exception` › `TXTextControl.DocumentServer.Json.ParserException`
- **Path:** TX Text Control .NET Server > Reference > TXTextControl.DocumentServer.Json > InvalidCodePointException Class
- **462 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-json/invalidcodepointexception/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-json/invalidcodepointexception/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-json/invalidcodepointexception/llms-full.txt

---

### Description

Is thrown when calling the method [MailMerge.MergeJsonData](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver/mailmerge/mergejsondata-method/llms-full.txt) with a JSON string containing an invalid hexadecimal unicode code point.

### Syntax

```csharp
public class InvalidCodePointException : ParserException
```

```vbnet
Public Class InvalidCodePointException
    Inherits ParserException
```

### Examples

The following example creates an Invalid Code Point Exception instance and configures its help link setting for a document workflow.

```csharp
TXTextControl.DocumentServer.Json.InvalidCodePointException invalidCodePointException = new(10, "Quarterly report");
invalidCodePointException.HelpLink = "Quarterly report";
```

```vbnet
Dim invalidCodePointException As New TXTextControl.DocumentServer.Json.InvalidCodePointException(10, "Quarterly report")
invalidCodePointException.HelpLink = "Quarterly report"
```

---

## Nearby

- **Previous:** [TXTextControl.DocumentServer.Json namespace](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-json/llms-full.txt)
- **Next:** [InvalidNumberFormatException Class](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-json/invalidnumberformatexception/llms-full.txt)
