TOOL_ERR.TOOL_ERROR
built-in exceptionThis exception defines a generic error you can raise to indicate that one or more errors have been pushed onto the error stack.
TOOL_ERR.TOOL_ERROR EXCEPTION;
/*
** Raise a generic internal error if a function
** argument is out of range.
*/
PROCEDURE my_proc(count PLS_INTEGER) IS
BEGIN
IF (count < 0) THEN
RAISE TOOL_ERR.TOOL_ERROR;
END IF;
. . .
END;
About the TOOL_ERR
built-in package
Copyright © 1984, 2005, Oracle. All rights reserved.