java.lang.Object | |||||||
↳ | java.lang.Throwable | ||||||
↳ | java.lang.Exception | ||||||
↳ | java.lang.RuntimeException | ||||||
↳ | org.springframework.core.NestedRuntimeException | ||||||
↳ | org.springframework.beans.BeansException | ||||||
↳ | org.springframework.beans.factory.BeanNotOfRequiredTypeException | ||||||
↳ | org.springframework.beans.factory.BeanIsNotAFactoryException |
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.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new BeanIsNotAFactoryException.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.beans.factory.BeanNotOfRequiredTypeException
| |||||||||||
From class
org.springframework.beans.BeansException
| |||||||||||
From class
org.springframework.core.NestedRuntimeException
| |||||||||||
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
|
Create a new BeanIsNotAFactoryException.
name | the name of the bean requested |
---|---|
actualType | the actual type returned, which did not match the expected type |