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

ORA_FFI.Ffi_Error

Description

Raised when an error occurs while using the Ora_Ffi Package.

Syntax


EXCEPTION  Ora_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;