ORA_FFI.FFI_ERROR
built-in exceptionThis exception is raised when an error occurs while using the ORA_FFI
built-in package.
EXCEPTION ORA_FFI.FFI_ERROR;
/* This example uses ORA_FFI_ERROR */
PRODEDURE register_libs IS
testlib_lhandle ORA_FFI.LIBHANDLETYPE;
BEGIN
/* Attempt to load a dll library
from a non-existant directory*/
testlib_lhandle := ORA_FFI.LOAD_LIBRARY
('C:\baddir\', 'libtest.dll');
EXCEPTION
WHEN ORA_FFI.FFI_ERROR THEN
/* print error message */
TEXT_IO.PUT_LINE (TOOL_ERR.MESSAGE);
/* discard the error */
tool_err.pop;
END;
About the ORA_FFI
built-in package
Copyright © 1984, 2005, Oracle. All rights reserved.