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:
Serializable
The Class NoUniqueBeanException.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNoUniqueBeanException
(Class<?> type, BeanRule[] beanRules) Instantiates a new NoUniqueBeanException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NoUniqueBeanException
Instantiates a new NoUniqueBeanException.- Parameters:
type
- the required type of the missing beanbeanRules
- the bean rules
-
-
Method Details
-
getType
Returns the type required type of the missing bean.- Returns:
- the required type
-
getBeanRules
Gets the bean rules.- Returns:
- the bean rules
-
getBeanDescriptions
-