Skip to main content

Ens.BPL.Compensate

class Ens.BPL.Compensate extends Ens.BPL.Activity

This provides the ability to inovke a named compensation handler. Compensate can only be used in a catch block. Following invocation of the handler, control returns to the next activity following the Compensate activity

Property Inventory

Method Inventory

Properties

property Target as %String;
This holds the Target compensation handler to call
Property methods: TargetDisplayToLogical(), TargetGet(), TargetIsValid(), TargetLogicalToDisplay(), TargetLogicalToOdbc(), TargetNormalize(), TargetSet()

Methods

method GenerateCode(pCompiler As Ens.BPL.Compiler) as %Status
method GenerateXML(pStream As %BinaryStream) as %Status
Inherited description: This generates the common XML attributes for this Activity
method Validate(ByRef pStatus As %Status, pContext As Ens.BPL.ValidationContext) as %Status
Inherited description: Perform a sanity check on the nodes in the parse tree

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab