Exceptions Category
The global constants for exceptions are listed in the following table.
Global Constant | Integer Value | Description |
---|---|---|
Ex_Abort_Action | 1 | Causes the currently executing methods to be aborted. |
Ex_Continue | 0 | Resumes execution from the next expression after the expression that caused the exception. |
Ex_Pass_Back | -1 | Passes control back to the prior local exception handler for this type of exception, or if a local handler is not found, a global exception handler for this type of exception. |
Ex_Resume_Method_Epilog | 3 | Passes control back to the method that armed the exception handler. Execution resumes at the start of the method epilog or at the end of the method if there is no epilog section. Execution resumes at the next statement in the epilog if the exception was raised while executing the epilog. If there were no messages on the execution stack when the handler was armed, the effect of the Ex_Resume_Method_Epilog call is identical to that of the Ex_Abort_Action call. |
Ex_Resume_Next | 2 | Passes control back to the method that armed the exception handler. Execution resumes from the next statement after the evaluation of the method call or expression in which the exception occurred. If there were no messages on the execution stack when the handler was armed, the effect of the Ex_Resume_Next call is identical to that of the Ex_Abort_Action call. |
The following note applies to all Exceptions category global constants.
Epilog sections are executed for any methods on the call stack between the method where the exception is raised and the method where normal execution continues.
For more details, see "