Fixes #1171 - Be a bit more descriptive on detection for entity class transforming and throw an exception if we detect that a class could not be transformed