meta data for this page
  •  

Exception-handling functions

Exception-handling functions are used with the TRY...EXCEPT statement or the RAISE statement.

If an exception is raised during execution of the initial statements list, the control passes to the first statement in the exceptionBlock. Here you can handle any exceptions which may occur using the following functions:

Function Description
ibec_err_Message Returns an exception message.
ibec_err_Name Returns an exception name.
ibec_err_SQLCode Returns the SQLCode of an exception if there was an SQL error.