P. 1
Oracle Forms Developer & Reports Developer

Oracle Forms Developer & Reports Developer

|Views: 343|Likes:
Published by uzkhaan

More info:

Published by: uzkhaan on Aug 21, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

10/29/2011

pdf

text

original

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

Forms Developer and Reports Developer Built-in Package Reference

148

n file name

n permissions on the file

n system error

Syntax

Tool_Res.File_Not_Found EXCEPTION;

Tool_Res.File_Not_Found 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;

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->