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(),
Serialized Form| Constructor and Description |
|---|
BeanInitializationException(java.lang.String msg)
Create a new BeanInitializationException with the specified message.
|
BeanInitializationException(java.lang.String msg,
java.lang.Throwable cause)
Create a new BeanInitializationException with the specified message
and root cause.
|
equals, hashCodecontains, getMessage, getMostSpecificCause, getRootCausepublic BeanInitializationException(java.lang.String msg)
msg - the detail messagepublic BeanInitializationException(java.lang.String msg,
java.lang.Throwable cause)
msg - the detail messagecause - the root cause