Exception thrown when a bean is not a factory, but a user tries to get
at the factory for the given bean name. Whether a bean is a factory is
determined by whether it implements the FactoryBean interface.
author: Rod Johnson since: 10.03.2003 See Also:org.springframework.beans.factory.FactoryBean
public BeanIsNotAFactoryException(String name, Class actualType)(Code)
Create a new BeanIsNotAFactoryException.
Parameters: name - the name of the bean requested Parameters: actualType - the actual type returned, which did not matchthe expected type
Methods inherited from org.springframework.beans.factory.BeanNotOfRequiredTypeException