Error message in MassIndexerImpl#toRootEntities mentions "a subclass of an indexed entity" but should mention "supertype" instead

Description

When an class passed to the MassIndexer is invalid, we throw an exception with this message:

1 <the class> is not an indexed entity or a subclass of an indexed entity

But we actually do not care whether the entity is a subclass of an indexed entity; we want it to either be indexed or be a *superclass* of an indexed entity.

We should change the message accordingly.

Environment

None

Status

Assignee

Yoann Rodière

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Fix versions

Priority

Minor
Configure