ParserException Class
- Namespace
TXTextControl.DocumentServer. Json
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WinForms. SDK
- Assembly
TXDocumentServer.dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WinForms. SDK TXDocumentServer.from the setup.dll
- Inherits
- Exception
- Parser
Exception
- Derived
- ExistingPropertyException, Invalid
Code , InvalidPoint Exception Number , MaxNestingDepthExceededException, UnexpectedFormat Exception End , UnexpectedOf Input Exception Token , UnknownException Literal , UnknownName Token Exception Parse Error Exception
Description
Base class of all JSON parser related exceptions which can be thrown when calling method MailMerge.MergeJsonData with an incorrect JSON string.
Syntax
public abstract class ParserException : ExceptionPublic MustInherit Class ParserException
Inherits ExceptionExamples
The following example includes the target site value from a Parser Exception object in application diagnostics. The created object is then available to the surrounding document workflow.
Console.WriteLine($"Target Site: {parserException.TargetSite}");
Console.WriteLine("Parser Exception is ready for use.");Console.WriteLine($"Target Site: {parserException.TargetSite}")
Console.WriteLine("Parser Exception is ready for use.")Members
Constructors
| Constructor | Description |
|---|---|
| ParserException | Not described in the reference. public ParserException(string message, int pos); |