Skip to content

EComponentError

Exception raised when an error occurs in the component registration routines.

    Declaration

    Source position: classesh.inc line 151

    type
    
      EComponentError = class(Exception)
      end;
    

    Description

    When an error occurs during the registration of a component, or when naming a component, then a EComponentError is raised. Possible causes are:

    1. An name with an illegal character was assigned to a component.
    2. A component with the same name and owner already exists.
    3. The component registration system isn't set up properly.

    See also

    Name Description
    TComponent Base class for all components that need owner-owned functionality.
    TComponent.Name Name of the component.