spring-framework / org.springframework.beans.factory / NoUniqueBeanDefinitionException / <init>

<init>

NoUniqueBeanDefinitionException(type: Class<*>, numberOfBeansFound: Int, message: String)

Create a new NoUniqueBeanDefinitionException.

Parameters

type - required type of the non-unique bean

numberOfBeansFound - the number of matching beans

message - detailed message describing the problem

NoUniqueBeanDefinitionException(type: Class<*>, beanNamesFound: MutableCollection<String>)

Create a new NoUniqueBeanDefinitionException.

Parameters

type - required type of the non-unique bean

beanNamesFound - the names of all matching beans (as a Collection)

NoUniqueBeanDefinitionException(type: Class<*>, vararg beanNamesFound: String)

Create a new NoUniqueBeanDefinitionException.

Parameters

type - required type of the non-unique bean

beanNamesFound - the names of all matching beans (as an array)