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

TOOL_ERR.TOOL_ERROR built-in exception

This exception defines a generic error you can raise to indicate that one or more errors have been pushed onto the error stack.

Syntax


TOOL_ERR.TOOL_ERROR EXCEPTION;

Example


 /*
  ** 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; 

See also

About the TOOL_ERR built-in package

TOOL_ERR built-in package