A SERVICE OF

logo

Exception Handling Overview
Program A
Program A
Sending
Terminating
Exception CEE9901
Proc. P1
Proc. P1
Proc. P2
Proc. P2
Proc. P3
exception
occurs
Proc. P3
exception
occurs
Exception
Handlers
for P2
Exception
Handlers
for P2
Percolate
Unhandled
Exception
Percolate
Function
Check
(CPF9999)
for P3
for P3
OPM
OPM
ILE
ILE
Activation
Activation
Pass 1
Pass 2
ILE
ILE
ILE
ILE
Call Stack
Call Stack
Figure 108. Call Stack and Exception Message Percolation
In OPM, the exception message is associated with the
program
which is active on
the call stack. If the exception is not handled by the associated exception handlers,
then a function check is sent to the same call stack entry which received the excep-
Chapter 12. Handling Exceptions 219