Note that afterPropertiesSet() or a custom "init-method"
can throw any exception.
BeanFactoryAware#setBeanFactory, InitializingBean#afterPropertiesSet
| Access | Constructor and Description |
|---|---|
| public | BeanInitializationException(String
the detail message msg)Create a new BeanInitializationException with the specified message. |
| public | BeanInitializationException(String
the detail message msg, Throwable the root cause cause)Create a new BeanInitializationException with the specified message and root cause. |
| BeanInitializationException | back to summary |
|---|---|
| public BeanInitializationException(String msg) Create a new BeanInitializationException with the specified message.
| |
| BeanInitializationException | back to summary |
|---|---|
| public BeanInitializationException(String msg, Throwable cause) Create a new BeanInitializationException with the specified message and root cause. | |