Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [Ens] >  [BPL] >  [Catch]
Private  Storage   

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.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 5


Summary

Properties
Activities ActivityID Annotation Disabled Fault
Name Parent 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 Activities as Ens.BPL.ActivityList;
This holds the Activity List
• property Fault as %String;
This holds the filter expression which must evaluate to a thrown fault string

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


Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.