A script-enabled browser is required for this page to function properly.

TOOL_ERR.Pop

Description

Discards the top-most error on the error stack.

Syntax


PROCEDURE Tool_Err.Pop;

Example


/*
** Loop through each message in the stack, 
** print it, then clear the top most error.
*/
BEGIN
  . . .

EXCEPTION
  WHEN OTHERS THEN
  FOR i IN 1..Tool_Err.Nerrors LOOP
    TEXT_IO.PUT_LINE(TOOL_ERR.MESSAGE); 
    TOOL_ERR.POP;
  END LOOP;
  . . .

END;