## ThrowHelper::GetInvalidOperationException(ExceptionResource, int32_t, int32_t, uint8_t, JsonTokenType) method




```cpp
static InvalidOperationException System::Text::Json::ThrowHelper::GetInvalidOperationException(ExceptionResource resource, int32_t currentDepth, int32_t maxDepth, uint8_t token, JsonTokenType tokenType)
```

## See Also

* Enum [ExceptionResource](../../exceptionresource/)
* Enum [JsonTokenType](../../jsontokentype/)
* Class [ThrowHelper](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.TeX for C++](../../../)
## ThrowHelper::GetInvalidOperationException(String, Exception) method




```cpp
static InvalidOperationException System::Text::Json::ThrowHelper::GetInvalidOperationException(String message, Exception innerException)
```

## See Also

* Class [String](../../../system/string/)
* Typedef [Exception](../../../system/exception/)
* Class [ThrowHelper](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.TeX for C++](../../../)
