Home > Class Reference > ENSLIB namespace > Ens.BPL.Catch

Ens.BPL.Catch

class Ens.BPL.Catch extends Ens.BPL.Activity

Catch attempts to match the thrown fault, (see Ens.BPL.Throw) and if successful the activities within the block defined by the catch will be executed.

Property Inventory

Method Inventory

Properties

property Activities as Ens.BPL.ActivityList;
This holds the Activity List
Property methods: ActivitiesGet(), ActivitiesGetSwizzled(), ActivitiesIsValid(), ActivitiesNewObject(), ActivitiesSet()
property Fault as %String;
This holds the filter expression which must evaluate to a thrown fault string
Property methods: FaultDisplayToLogical(), FaultGet(), FaultIsValid(), FaultLogicalToDisplay(), FaultLogicalToOdbc(), FaultNormalize(), FaultSet()

Methods

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

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new window