Function | Action defines a start of actions which handle an error (so called exception handler) and defines an area of their operation. | |
Declaration |
|
|
Description | EXCEPTION_HANDLER action defines the start of actions which handle the error (so
called exception handler) and defines the area of their operation. According to context where the action is used, it can cause:
If EXCEPTION_HANDLER action is out of procedure it defines the exception handler for errors occurring in the actions of an initialization part of script and in initialization of the global variables. EXCEPTION_HANDLER action must not define the error handler for ON ERROR action. For example: |
|
|
||
When EXCEPTION_HANDLER action is executed, it is interpreted as RETURN action. Following two procedures are the same: | ||
|
||
or | ||
|
||
EXCEPTION_HANDLER action may handle the exceptions which occur while their are serviced: | ||
|