public class BeanInitializationException extends FatalBeanException
Note that afterPropertiesSet() or a custom "init-method"
can throw any exception.
BeanFactoryAware.setBeanFactory(org.springframework.beans.factory.BeanFactory),
InitializingBean.afterPropertiesSet(),
序列化表格| 构造器和说明 |
|---|
BeanInitializationException(String msg)
Create a new BeanInitializationException with the specified message.
|
BeanInitializationException(String msg,
Throwable cause)
Create a new BeanInitializationException with the specified message
and root cause.
|
contains, getMessage, getMostSpecificCause, getRootCausepublic BeanInitializationException(String msg)
msg - the detail message