Class BeanRuleException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.aspectran.core.context.AspectranRuntimeException
-
- com.aspectran.core.component.bean.BeanException
-
- com.aspectran.core.component.bean.BeanRuleException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
BeanCreationException
,BeanDestroyFailedException
,BeanNotOfRequiredTypeException
,FactoryBeanNotInitializedException
,UnsupportedBeanScopeException
public class BeanRuleException extends BeanException
The Class BeanRuleException.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BeanRuleException(java.lang.String msg, BeanRule beanRule)
Instantiates a new BeanRuleException.BeanRuleException(java.lang.String msg, BeanRule beanRule, java.lang.Throwable cause)
Instantiates a new BeanRuleException.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BeanRule
getBeanRule()
Gets bean rule.
-
-
-
Constructor Detail
-
BeanRuleException
public BeanRuleException(java.lang.String msg, BeanRule beanRule)
Instantiates a new BeanRuleException.- Parameters:
msg
- the detail messagebeanRule
- the bean rule
-
BeanRuleException
public BeanRuleException(java.lang.String msg, BeanRule beanRule, java.lang.Throwable cause)
Instantiates a new BeanRuleException.- Parameters:
beanRule
- the bean rulemsg
- the detail messagecause
- the root cause
-
-
Method Detail
-
getBeanRule
public BeanRule getBeanRule()
Gets bean rule.- Returns:
- the bean rule
-
-