The ON EXCEPTION RESUME clause is included in the CREATE PROCEDURE statement.
The procedure checks the statement when an error occurs. If the statement handles the error, then the procedure does not return control to the calling environment when an error occurs. Instead, it continues executing, resuming at the statement after the one causing the error.