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 Summary
ConstructorsConstructorDescriptionBeanIsNotAFactoryException(String name, Class<?> actualType) Create a new BeanIsNotAFactoryException. - 
Method Summary
Methods inherited from class org.springframework.beans.factory.BeanNotOfRequiredTypeException
getActualType, getBeanName, getRequiredTypeMethods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCauseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
- 
Constructor Details
- 
BeanIsNotAFactoryException
 
 -