TOOL_RES.FILE_NOT_FOUND
built-in exceptionThis exception is 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;
About the TOOL_RES
built-in package
Copyright © 1984, 2005, Oracle. All rights reserved.