spring-framework / org.springframework.beans / BeanInstantiationException / <init>

<init>

BeanInstantiationException(beanClass: Class<*>, msg: String)

Create a new BeanInstantiationException.

Parameters

beanClass - the offending bean class

msg - the detail message

BeanInstantiationException(beanClass: Class<*>, msg: String, @Nullable cause: Throwable)

Create a new BeanInstantiationException.

Parameters

beanClass - the offending bean class

msg - the detail message

cause - the root cause

BeanInstantiationException(constructor: Constructor<*>, msg: String, @Nullable cause: Throwable)

Create a new BeanInstantiationException.

Parameters

constructor - the offending constructor

msg - the detail message

cause - the root cause

Since
4.3

BeanInstantiationException(constructingMethod: Method, msg: String, @Nullable cause: Throwable)

Create a new BeanInstantiationException.

Parameters

constructingMethod - the delegate for bean construction purposes (typically, but not necessarily, a static factory method)

msg - the detail message

cause - the root cause

Since
4.3