ControllerAdviceBean(bean: Any)
Create a ControllerAdviceBean using the given bean instance.
ControllerAdviceBean(beanName: String, @Nullable beanFactory: BeanFactory)
Create a ControllerAdviceBean using the given bean name.
beanName - the name of the bean
beanFactory - a BeanFactory that can be used later to resolve the bean