xml.XSLTtransformer.getErrorDescription

Returns the exact description of the error referenced by the index.

Syntax

xml.XSLTtransformer.getErrorDescription(
   index INTEGER )
  RETURNS STRING
  1. index defines the index of the error returned by xml.XSLTtransfomer.getErrorsCount().

Usage

This method returns the exact description of the error referenced by the index during the doTransform() call or during the CreateFromDocument() when the style sheet contains some errors.

This method is typically used in conjunction with getErrorsCount().

In case of error, the method throws an exception and sets the STATUS variable. Depending on the error, a human-readable description of the problem is available in the SQLCA.SQLERRM register. See Error handling in GWS calls (STATUS).

To see these methods in a working example, see Example: Using xml.XSLTtransformer methods.