Class BeanIsNotAFactoryException
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
- All Implemented Interfaces:
- Serializable
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.
- Since:
- 10.03.2003
- Author:
- Rod Johnson
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionBeanIsNotAFactoryException(String name, Class<?> actualType) Create a new BeanIsNotAFactoryException.
- 
Method SummaryMethods inherited from class org.springframework.beans.factory.BeanNotOfRequiredTypeExceptiongetActualType, getBeanName, getRequiredTypeMethods inherited from class org.springframework.core.NestedRuntimeExceptioncontains, getMostSpecificCause, getRootCauseMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
BeanIsNotAFactoryException
 
-