Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

During the execution of script actions, various error states may occur, which are are normally handled by terminating the script and writing a log to the log database. Such a log contains the line number where the error occurred, the error code and, for some specific error types, also an extended description. Error code is a value of one of the predefined local variables (constants) which begins with ERR_*.

...

The first method activates an error handling by ON ERROR action. The action defines the label where the handler (ESL script actions) is placed. This handling method is variable but if it is used incorrectly it can not cannot provide an easy survey and can be misleading.
The second method is more easy and clear. EXCEPTION_HANDLER action defines the place where the handler is being occurred within a procedure and defines whether the errors are handled.

...