spring-framework / org.springframework.beans.factory / BeanIsNotAFactoryException / <init>

<init>

BeanIsNotAFactoryException(name: String, actualType: Class<*>)

Create a new BeanIsNotAFactoryException.

Parameters

name - the name of the bean requested

actualType - the actual type returned, which did not match the expected type