getOkButtonLabel() method

This method is called for Transaction Error-Handling Steplets.

Syntax

public String getOkButtonLabel ()

Returns

the button label, or an empty string to use the label from the original exception that caused this error-handling steplet to be invoked.

Usage

It is intended to provide the error-handling steplet with a chance to override the notification window text from the original transaction failure exception. This method overrides the button label for the notification window; if it returns an empty string, then the button label from the original exception will be used.