New OLERuntimeError properties

OLERuntimeError is a system object that inherits from the RuntimeError object (which inherits, in turn, from the Throwable object). OLERuntimeError is thrown automatically when an OLE error occurs that is not handled by an ocx_error, ExternalException, or Error event script. Information from the ExternalException and Error events is propagated to the OLERuntimeError object.

In PowerBuilder 10.5, the OLERuntimeError object has four properties that are not present in its ancestor objects:

OLERuntimeError property

Datatype

Description

Description

String

Description of the error intended for the end user

HelpContext

UnsignedLong

Help context ID of the topic in a Help file that contains information about the error

HelpFile

String

Complete path and file name of a Help file with information about the error

Source

String

Name of the exception source—typically, an application name