BBjAPI::getLastJavaException

Description

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

Syntax

Return Value

Method

java.lang.Throwable

getLastJavaException()

Parameters

None.

Return Value

Returns a java.lang.Throwable object.

Remarks

If no errors have been returned from failed Java calls in this session, getLastJavaException() returns NULL().

Example

rem ' BBjAPI::getLastJavaException

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

See Also

BBjAPI

Object Variables

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