TX Text Control .NET Server

InvalidNumberFormatException Class

Class|Introduced in 24.0
Namespace
TXTextControl.DocumentServer.Json
Package
TXTextControl.TextControl.Core.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXDocumentServer.Core.dll
Install
dotnet add package TXTextControl.TextControl.Core.SDK .NET 8 and later. For .NET Framework, reference TXDocumentServer.dll from the setup.
Also in
TXTextControl.TextControl.ASP.SDK as TXDocumentServer.dll
Inherits
  1. Exception
  2. ParserException
  3. InvalidNumberFormatException

Description

Is thrown when calling the method MailMerge.MergeJsonData with a JSON string containing a number with an invalid number format.

Syntax

public class InvalidNumberFormatException : ParserException

Examples

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

TXTextControl.DocumentServer.Json.InvalidNumberFormatException invalidNumberFormatException = new(10, "Quarterly report");
invalidNumberFormatException.HelpLink = "Quarterly report";

Members

Constructors

ConstructorDescription
InvalidNumberFormatExceptionNot described in the reference. public InvalidNumberFormatException(int pos, string number);