Raised when an error occurs while using the Ora_Ffi Package.
EXCEPTION Ora_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;