SPR-5682: Initial support for ConfigurationClassApplicationContext
This commit is contained in:
@@ -53,6 +53,15 @@ public class NoSuchBeanDefinitionException extends BeansException {
|
||||
this.beanName = name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a new NoSuchBeanDefinitionException.
|
||||
* @param type required type of bean
|
||||
*/
|
||||
public NoSuchBeanDefinitionException(Class type) {
|
||||
super("No unique bean of type [" + type.getName() + "] is defined");
|
||||
this.beanType = type;
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a new NoSuchBeanDefinitionException.
|
||||
* @param type required type of bean
|
||||
@@ -62,7 +71,7 @@ public class NoSuchBeanDefinitionException extends BeansException {
|
||||
super("No unique bean of type [" + type.getName() + "] is defined: " + message);
|
||||
this.beanType = type;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Create a new NoSuchBeanDefinitionException.
|
||||
* @param type required type of bean
|
||||
|
||||
Reference in New Issue
Block a user