public class BeanInstantiationException extends FatalBeanException
Modifier and Type | Field and Description |
---|---|
private java.lang.Class |
beanClass |
Constructor and Description |
---|
BeanInstantiationException(java.lang.Class beanClass,
java.lang.String msg)
Create a new BeanInstantiationException.
|
BeanInstantiationException(java.lang.Class beanClass,
java.lang.String msg,
java.lang.Throwable cause)
Create a new BeanInstantiationException.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
getBeanClass()
Return the offending bean class.
|
equals, hashCode
contains, getMessage, getMostSpecificCause, getRootCause
public BeanInstantiationException(java.lang.Class beanClass, java.lang.String msg)
beanClass
- the offending bean classmsg
- the detail messagepublic BeanInstantiationException(java.lang.Class beanClass, java.lang.String msg, java.lang.Throwable cause)
beanClass
- the offending bean classmsg
- the detail messagecause
- the root cause