java.io.Serializable
public class BeanNotOfRequiredTypeException extends BeanRuleException
Constructor | Description |
---|---|
BeanNotOfRequiredTypeException(java.lang.Class<?> requiredType,
BeanRule beanRule) |
Create a new BeanNotOfRequiredTypeException.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.Class<?> |
getRequiredType() |
Gets the required type.
|
getBeanRule
public BeanNotOfRequiredTypeException(java.lang.Class<?> requiredType, BeanRule beanRule)
requiredType
- the required typebeanRule
- the bean ruleCopyright © 2008–2018 The Aspectran Project. All rights reserved.