[TASK] Give hint with exception on aggregate roots in hierarchies
The message "In a class hierarchy either all or no classes must be
an aggregate root, "Foo" is one but the parent class "Bar" is not."
is not really helpful for developers.
This change adds a hint on how to solve the problem.