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

OLE2.OLE_Not_Supported

Description

This exception is raised if a call is made to the OLE2 package but OLE2 is not supported on the current software platform.

Syntax


OLE2.OLE_NOT_SUPPORTED EXCEPTION;

Example


PROCEDURE ole_test IS
  err_code BINARY_INTEGER;  
  err_text VARCHAR2(255);
BEGIN
  olepack.init(...);
  olepack.something(...);
  olepack.shutdown(...);
EXCEPTION
  WHEN OLE2.OLE_NOT_SUPPORTED THEN
    TEXT_IO.PUT_LINE('OLE2 is not supported on this computer');
    olepack.shutdown(...);
END ole_test;