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

TOOL_ERR.Tool_Error

Description

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;