BeanInstantiationException(beanClass: Class<*>, msg: String)
Create a new BeanInstantiationException.
beanClass - the offending bean class
BeanInstantiationException(beanClass: Class<*>, msg: String, @Nullable cause: Throwable)
Create a new BeanInstantiationException.
beanClass - the offending bean class
BeanInstantiationException(constructor: Constructor<*>, msg: String, @Nullable cause: Throwable)
Create a new BeanInstantiationException.
constructor - the offending constructor
Since
4.3
BeanInstantiationException(constructingMethod: Method, msg: String, @Nullable cause: Throwable)
Create a new BeanInstantiationException.
constructingMethod - the delegate for bean construction purposes (typically, but not necessarily, a static factory method)
Since
4.3