public class BeanInitializationException extends FatalBeanException
Note that non-factory-aware initialization methods like 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(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.
|
equals, hashCodecontains, getMessage, getMostSpecificCause, getRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic BeanInitializationException(String msg)
msg - the detail message