Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / ENSLIB namespace / Ens.BPL.Compensate
Private  Storage   

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

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 4


Summary


Properties
ActivityID Annotation Disabled Name Parent
Target XEnd XPos YEnd YPos

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%RemoveFromSaveSet %SerializeObject %SetModified %ValidateObject
DisabledGet DisplayName GenerateAnnotation GenerateCode
GenerateXML NormalizeAttribute Validate


Properties


• property Target as %String;
This holds the Target compensation handler to call

Methods


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