TOOL_ERR.POP
built-in procedureThis procedure discards the topmost error on the error stack.
PROCEDURE TOOL_ERR.POP;
/*
** 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;
About the TOOL_ERR
built-in package
Copyright © 1984, 2005, Oracle. All rights reserved.