Exceptions

The TX Text Control class library explizitly throws an ArgumentException, an ArgumentNullException or an ArgumentOutOfRangeException, when the parameter of a called method or the value of a set property has a wrong value. Furthermore, an InvalidOperationException is thrown when a method call is invalid for the object's current state. In Addition, the class library defines and throws the TextEditorException when an error occurs during text editing and a FilterException, if an error occurs when a text filter is used to convert a document to or from another format. The LicenseLevelException is thrown, when a feature is not contained in the currently licensed product level.

Classes

Class Description
TXTextControl.FilterException The FilterException class informs about errors which can occur when a text filter is used to convert a document to or from another format.
TXTextControl.FormulaException The FormulaException class informs about an invalid syntax or missing parameters of formulas used in tables.
TXTextControl.LicenseLevelException A LicenseLevelException is thrown when a feature is not contained in the currently licensed product level.
TXTextControl.NumberFormatException The NumberFormatException class informs about an invalid syntax of a numberformat used to display a formula result.
TXTextControl.TextEditorException The TextEditorException class informs about errors which can occur during editing text.

Constructors

Constructor Description
TXTextControl.FilterException Initializes a new instance of the FilterException class.
TXTextControl.LicenseLevelException Initializes a new instance of the LicenseLevelException class.
TXTextControl.TextEditorException Initializes a new instance of the TextEditorException class.

Enumerations

Enumeration Description
TXTextControl.FilterException.FilterError Enumerates errors which can occur when a text filter is used to convert a TX Text Control document to or from another format.

Properties

Property Description
TXTextControl.FilterException.Reason Gets the error which is the cause of this exception.
TXTextControl.FormulaException.CharacterIndex Gets the one-based character index of the first invalid character in the formula string.
TXTextControl.NumberFormatException.CharacterIndex Gets the one-based character index of the first invalid character in the numberformat string.