A script-enabled browser is required for this page to function properly.

ORA_FFI.FFI_ERROR built-in exception

This exception is raised when an error occurs while using the ORA_FFI built-in package.

Syntax


EXCEPTION ORA_FFI.FFI_ERROR;

Example


/* 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;

See also

About the ORA_FFI built-in package

ORA_FFI built-in package