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

TOOL_ERR.POP built-in procedure

This procedure discards the topmost 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;

See also

About the TOOL_ERR built-in package

TOOL_ERR built-in package