
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 |
---|---|
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
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.