BBjStackElement   

Description

In BBj 9.0 and higher, the BBjStackElement provides information about one level on the BBj stack.

Creation

BBjAPI > BBjRuntime > BBjStackElement

The BBjStackElement may be obtained through the following BBjAPI object methods that returns a BBjVector of the BBjStackElement:

Return Value

Method

BBjVector

getBBjStack()

Methods of BBjStackElement

Return Value

Method

int

getFileName()

string

getClassName()

string

getMethodName()

BBjClientFileSystem

getPhysicalLineNumber()

string

getUserLineNumber()

string

getLineListing()

string

toString()

Remarks

None.

Constants

None.

Example

vector! = BBjAPI().getRuntime().getBBjStack()
for index = 0 to vector!.size() – 1
    element! = vector!.get(index)
    print element!.getFileName()
    print element!.getLineListing()
next index

See Also

BBjAPI

BBjRuntime

BBj Object Variables

BBj Object Assignment

BBj Object Error Handling

BBj Object Operators

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.