Raised when the specified file cannot be opened, most
likely because of one of the following reasons:
Tool_Res.File_Not_Found EXCEPTION;
/*
** 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;