InterSystems IRIS Data Platform 2020.4 > Class Reference > ENSLIB namespace > Ens.BPL.Compensate

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 (Including Private)

Method Inventory (Including Private)

Properties (Including Private)

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

Methods (Including Private)

method GenerateCode(pCompiler As Ens.BPL.Compiler) as %Status [ Language = objectscript ]
method GenerateXML(pStream As %BinaryStream) as %Status [ Language = objectscript ]
Inherited description: This generates the common XML attributes for this Activity
method Validate(ByRef pStatus As %Status, pContext As Ens.BPL.ValidationContext) as %Status [ Language = objectscript ]
Inherited description: Perform a sanity check on the nodes in the parse tree
private method activityName() as %String [ Language = objectscript ]
Provide a user readable string which names the activity

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)

Feedback