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

TOOL_RES.File_Note_Found

Description

Raised when the specified file cannot be opened, most likely because of one of the following reasons:

Syntax


Tool_Res.File_Not_Found  EXCEPTION;

Example


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