System.SysUtils.EAbstractError

From RAD Studio API Documentation
Jump to: navigation, search

System.SysUtils.ExceptionSystem.TObjectEAbstractError

Delphi

EAbstractError = class(Exception);

C++

class PASCALIMPLEMENTATION EAbstractError : public Exception

Properties

Type Visibility Source Unit Parent
class public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils System.SysUtils

Description

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

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.