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 FormConstructor 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, hashCode
contains, getMessage, getMostSpecificCause, getRootCause
public 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