The Extbase ClassInfoFactory may be unable to build information for a
given class if a PHP warning occurs while running in development context.
Instead of hiding the actual exception with a generic message
"Could not analyse class: VendorName\ExtensionKey\Some\Class", it should
include the message of the corresponding exception to give useful advice
while fixing the problem.