public BeanNotOfRequiredTypeException(String beanName, Class requiredType, Class actualType)(Code)
Create a new BeanNotOfRequiredTypeException.
Parameters: beanName - the name of the bean requested Parameters: requiredType - the required type Parameters: actualType - the actual type returned, which did not matchthe expected type