Skip to main content

Ens.BPL.Scope

class Ens.BPL.Scope extends Ens.BPL.Activity

This class represents a sequence of activities to be performed. Errors occuring with the scope block are caught and redirected to the a fault handler. The fault handler can, if desired, invoke a compensation handler which is a named block of code which is intended to compensate for the fault. Transfer of control flow to a catch block can also be achieved by using the Throw activity,naming the catch block to be invoked.

Property Inventory

Method Inventory

Properties

property Activities as Ens.BPL.ActivityList;
This holds the Try Activity List
Property methods: ActivitiesGet(), ActivitiesGetSwizzled(), ActivitiesIsValid(), ActivitiesNewObject(), ActivitiesSet()
property CompensationHandlers as Ens.BPL.CompensationHandlerList;
This holds the CompensationHandlers
Property methods: CompensationHandlersGet(), CompensationHandlersGetSwizzled(), CompensationHandlersIsValid(), CompensationHandlersNewObject(), CompensationHandlersSet()
property FaultHandlers as Ens.BPL.CatchList;
This holds the Catch List
Property methods: FaultHandlersGet(), FaultHandlersGetSwizzled(), FaultHandlersIsValid(), FaultHandlersNewObject(), FaultHandlersSet()

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
Perform a sanity check on the nodes in the parse tree

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab