A nested exception is an exception that occurs while another exception is being handled.
When this happens:
When a nested exception occurs, both of the following are still on the call stack:
To reduce the possibility of exception handling loops, the system stops the percolation of a nested exception at the original exception handler call stack entry. Then the system promotes the nested exception to a function check message and percolates the function check message to the same call stack entry.
If the nested exception or the function check message is not handled, the application comes to an abnormal end. In this case, message CEE9901 is sent to the caller of the control boundary.
If you move the resume cursor while processing the nested exception, you can implicitly modify the original exception. To cause this to occur, do the following:
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.