RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
EAbstractError Class

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

Pascal
EAbstractError = class(Exception);
C++
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!