mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-21 13:31:46 +00:00
SPR-5682: Initial support for ConfigurationClassApplicationContext
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2048 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
+10
-1
@@ -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