Delphi / Object Pascal · Exception

Runtime Error 211: EAbstractError

What does Runtime Error 211: EAbstractError mean in Delphi / Object Pascal?

The program called a method declared abstract in a base class, on an object whose actual class never overrode it with a real implementation.

Runtime Error 211: EAbstractErrorDelphi (VCL) · Delphi (FireMonkey)

Condition

The program called a method declared abstract in a base class, on an object whose actual class never overrode it with a real implementation.

Fix

Check the object's actual runtime class against the class hierarchy; this usually means a descendant class was supposed to override the abstract method but does not, often after a refactor added a new abstract method to the base class without updating every descendant.

Pending source verification. Not yet checked against official documentation.

Related exception