|
Add Exception Handler |
Top Previous Next |
|
The Add Exception Handler feature allows you to add an exception handler to the current procedure, from customizable templates with predefined variables such as the procedure name, procedure type, etc. MZ-Tools offers the following ways to add an exception handler:
If you have created more than one template, a dialog window is shown to allow you to select the template to use. You can customize the templates in the Corporate Options window, Add Exception Handler section. The exception handler can be added to an empty procedure or to selected lines of code. So, the exception handler template should include the Selected Text ($P[SELECTED_TEXT]) predefined variable. See Predefined Variables You can add a header and an exception handler to a procedure in the same step with the Add Procedure Header and Exception Handler feature. See Also: |