isInExceptionState
isInExceptionState(): Boolean;
The isInExceptionState method of the Process class returns true if the process is in exception state (that is, the exception has occurred in the current transaction); for example, in the epilog code or in an exception handler.
The method receiver must be the current process.
The code fragment in the following example shows the use of the isInExceptionState method.
epilog if process.isInExceptionState then abort; endif; end;