Explanation
The Java exception information is returned.
Syntax
INVOKE EXCEPTION-OBJECT "GET-EXCEPTION" USING message messageLength class classLength RETURNING result
Parameter and return value
Specifies the data item that stores the Java exception message.
Length (number of bytes) of Java exception message is returned.
Specifies the data item that stores the Java exception class.
Length (number of bytes) of Java exception message is returned.
"0" is returned when Java exception information exists. "-1" is returned when Java exception information does not exist.
Note
The Java exception information can be acquired only when the exception type is "1".