catch MappingException for unregistered entities