BBjAPI::getLastBBjException

Description

In BBj 12.0 and higher, this method returns a java.lang.Throwable object that corresponds to the last exception reported from a BBj error.

Syntax

Return Value

Method

java.lang.Throwable

getLastBBjException()

Parameters

None.

Return Value

Returns a java.lang.Throwable object.

Remarks

If no BBj errors have been reported in this session, getLastBBjException() returns NULL().

Example

rem ' BBjAPI::getLastBBjException

i! = new Integer("x",err=*next)
e! = bbjapi().getLastBBjException()
print e!

See Also

BBjAPI

Object Variables

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