Class BeanInstantiationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.aspectran.core.component.bean.BeanException
com.aspectran.core.component.bean.BeanInstantiationException
- All Implemented Interfaces:
Serializable
Exception thrown when instantiation of a bean failed.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBeanInstantiationException
(Class<?> beanClass, String msg) Create a new BeanInstantiationException.BeanInstantiationException
(Class<?> beanClass, String msg, Throwable cause) Create a new BeanInstantiationException.BeanInstantiationException
(Class<?> beanClass, Throwable cause) Create a new BeanInstantiationException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BeanInstantiationException
Create a new BeanInstantiationException.- Parameters:
beanClass
- the offending bean classcause
- the root cause
-
BeanInstantiationException
Create a new BeanInstantiationException.- Parameters:
beanClass
- the offending bean classmsg
- the detail messagecause
- the root cause
-
BeanInstantiationException
Create a new BeanInstantiationException.- Parameters:
beanClass
- the offending bean classmsg
- the detail message
-
-
Method Details
-
getBeanClass
Return the offending bean class.- Returns:
- the bean class
-