System.TObject.SafeCallException
From RAD Studio VCL Reference
Delphi Information
From System.pas
function SafeCallException(ExceptObject: TObject; ExceptAddr: Pointer): HRESULT; virtual;
Unit: System
Type: method
Visibility: public
Member Of: TObject
C++ Information
From System.hpp
virtual long __fastcall SafeCallException(System::TObject * ExceptObject, void * ExceptAddr);
Unit: System
Type: method
Visibility: public
Member Of: TObject
Description
Handles exceptions in methods declared using the safecall calling convention.
SafeCallException handles exceptions in methods that use the safecall calling convention. Some classes that implement interfaces override this method to handle possible errors.
As implemented in TObject, SafeCallException simply returns E_UNEXPECTED. This is the appropriate response for classes that do no support interfaces.