public class BeanIsNotAFactoryException extends BeanNotOfRequiredTypeException
FactoryBean
,
Serialized FormConstructor and Description |
---|
BeanIsNotAFactoryException(java.lang.String name,
java.lang.Class<?> actualType)
Create a new BeanIsNotAFactoryException.
|
getActualType, getBeanName, getRequiredType
contains, getMessage, getMostSpecificCause, getRootCause
public BeanIsNotAFactoryException(java.lang.String name, java.lang.Class<?> actualType)
name
- the name of the bean requestedactualType
- the actual type returned, which did not match
the expected type