public class BeanInstantiationException extends FatalBeanException
Constructor and Description |
---|
BeanInstantiationException(Class<?> beanClass,
String msg)
Create a new BeanInstantiationException.
|
BeanInstantiationException(Class<?> beanClass,
String msg,
Throwable cause)
Create a new BeanInstantiationException.
|
Modifier and Type | Method and Description |
---|---|
Class<?> |
getBeanClass()
Return the offending bean class.
|
equals, hashCode
contains, getMessage, getMostSpecificCause, getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public BeanInstantiationException(Class<?> beanClass, String msg)
beanClass
- the offending bean classmsg
- the detail messagepublic Class<?> getBeanClass()