---
title: "System::Text::Json::ThrowHelper::ThrowArgumentException_InvalidUTF8 method"
url: "https://reference.aspose.com/pdf/cpp/system.text.json/throwhelper/throwargumentexception_invalidutf8/"
product: "Aspose.PDF for C++ API Reference"
description: "How to use ThrowArgumentException_InvalidUTF8 method of System::Text::Json::ThrowHelper class in C++."
---

## ThrowHelper::ThrowArgumentException_InvalidUTF8 method




```cpp
static void System::Text::Json::ThrowHelper::ThrowArgumentException_InvalidUTF8(ReadOnlySpan<uint8_t> value)
```

## See Also

* Class [ReadOnlySpan](../../../system/readonlyspan/)
* Class [ThrowHelper](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
