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

TOOL_RES.FILE_NOT_FOUND built-in exception

This exception is raised when the specified file cannot be opened, most likely because of one of the following reasons:

Syntax


TOOL_RES.FILE_NOT_FOUND  EXCEPTION;

Examples


 /*
  ** This example uses TOOL_RES.FILE_NOT_FOUND
  */

PRODEDURE res_test IS
resfileh  TOOL_RES.RFHANDLE;
res1      VARCHAR2(20);

 BEGIN
  /* Open a resource file */
   resfileh := TOOL_RES.RFOPEN 
   ('C:\resource\twst.res');
  /* File name is misspelled. */
 ...


 EXCEPTION
  WHEN TOOL_RES.FILE_NOT_FOUND THEN
  /* print error message */
   TEXT_IO.PUT_LINE('Cannot find the file.');
  /* discard the error */
   TOOL_ERR.POP;
END;

See also

About the TOOL_RES built-in package

TOOL_RES built-in package