Class BeanNotOfRequiredTypeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.aspectran.core.component.bean.BeanException
-
- com.aspectran.core.component.bean.BeanNotOfRequiredTypeException
-
- All Implemented Interfaces:
java.io.Serializable
public class BeanNotOfRequiredTypeException extends BeanException
Thrown when a bean doesn't match the expected type- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BeanNotOfRequiredTypeException(java.lang.Class<?> requiredType, BeanRule beanRule)Create a new BeanNotOfRequiredTypeException.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<?>getRequiredType()Gets the required type.
-
-
-
Constructor Detail
-
BeanNotOfRequiredTypeException
public BeanNotOfRequiredTypeException(java.lang.Class<?> requiredType, BeanRule beanRule)Create a new BeanNotOfRequiredTypeException.- Parameters:
requiredType- the required typebeanRule- the bean rule
-
-