System.Rtti.TVirtualMethodInterceptor.DoException

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DoException(Instance: TObject; Method: TRttiMethod;  const Args: TArray<TValue>; out RaiseException: Boolean; TheException: Exception; out Result: TValue);

C++

void __fastcall DoException(System::TObject* Instance, TRttiMethod* Method, const System::DynamicArray<TValue> Args, /* out */ bool &RaiseException, System::Sysutils::Exception* TheException, /* out */ TValue &Result);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
System.Rtti.pas
System.Rtti.hpp
System.Rtti TVirtualMethodInterceptor

Description

Invokes the OnException event.

DoException is a protected virtual method that corresponds to the OnException event. When deriving from TVirtualMethodInterceptor, it may make more sense to override this method rather than subscribe to the OnException event, since users of the derived class may also want to subscribe to the same event.

See Also