RAD Studio VCL Reference
EAbstractError Class

EAbstractError is the exception class for attempts to call an abstract method.

EAbstractError = class(Exception);
class EAbstractError : public Exception;

EAbstractError is raised when an application tries to call a Delphi abstract method. It is also raised at design time when a component with Delphi abstract method is placed on a form. 

Delphi abstract methods are declared with the abstract directive and must be overridden in descendant classes before an instance object can be created. 

C++ code can catch this error, but never throws it. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!