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.