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