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.