Class NoUniqueBeanException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.aspectran.core.component.bean.BeanException
-
- com.aspectran.core.component.bean.NoUniqueBeanException
-
- All Implemented Interfaces:
java.io.Serializable
public class NoUniqueBeanException extends BeanException
The Class NoUniqueBeanException.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NoUniqueBeanException(java.lang.Class<?> type, BeanRule[] beanRules)
Instantiates a new NoUniqueBeanException.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getBeanDescriptions(BeanRule[] beanRules)
BeanRule[]
getBeanRules()
Gets the bean rules.java.lang.Class<?>
getType()
Returns the type required type of the missing bean.
-
-
-
Constructor Detail
-
NoUniqueBeanException
public NoUniqueBeanException(java.lang.Class<?> type, BeanRule[] beanRules)
Instantiates a new NoUniqueBeanException.- Parameters:
type
- the required type of the missing beanbeanRules
- the bean rules
-
-
Method Detail
-
getType
public java.lang.Class<?> getType()
Returns the type required type of the missing bean.- Returns:
- the required type
-
getBeanRules
public BeanRule[] getBeanRules()
Gets the bean rules.- Returns:
- the bean rules
-
getBeanDescriptions
public static java.lang.String getBeanDescriptions(BeanRule[] beanRules)
-
-