Capgemini interview question

Whcih exception is thrown when there is no bean class in Spring