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 BeanNotOfRequiredTypeException
getActualType, getBeanName, getRequiredType
Methods inherited from class NestedRuntimeException
contains, getMostSpecificCause, getRootCause
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BeanIsNotAFactoryException
-