spring-framework / org.springframework.beans.factory / BeanCurrentlyInCreationException

BeanCurrentlyInCreationException

open class BeanCurrentlyInCreationException : BeanCreationException

Exception thrown in case of a reference to a bean that's currently in creation. Typically happens when constructor autowiring matches the currently constructed bean.

Author
Juergen Hoeller

Since
1.1

Constructors

<init>

BeanCurrentlyInCreationException(beanName: String)

Create a new BeanCurrentlyInCreationException, with a default error message that indicates a circular reference.

BeanCurrentlyInCreationException(beanName: String, msg: String)

Create a new BeanCurrentlyInCreationException.