System.AbstractErrorProc

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

AbstractErrorProc: procedure; { Abstract method error handler }

C++

extern DELPHI_PACKAGE void __fastcall (*AbstractErrorProc)(void);

Properties

Type Visibility Source Unit Parent
variable public
System.pas
System.hpp
System System

Description

AbstractErrorProc defines a callback routine for abstract method call errors.

An abstract method is a virtual or dynamic method that has no implementation in the class where it is declared. Its implementation is deferred to a descendant class. An EAbstractError exception will be thrown if a call is attempted to an abstact method.

You can define an AbstractErrorProc routine that will be called prior to the exception throw.

See Also