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 FormConstructor 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, hashCode
contains, getMessage, getMostSpecificCause, getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public BeanInitializationException(String msg)
msg
- the detail message