public class

BeanCurrentlyInCreationException

extends BeanCreationException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ org.springframework.core.NestedRuntimeException
           ↳ org.springframework.beans.BeansException
             ↳ org.springframework.beans.FatalBeanException
               ↳ org.springframework.beans.factory.BeanCreationException
                 ↳ org.springframework.beans.factory.BeanCurrentlyInCreationException

Class Overview

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.

Summary

Public Constructors
BeanCurrentlyInCreationException(String beanName)
Create a new BeanCurrentlyInCreationException, with a default error message that indicates a circular reference.
BeanCurrentlyInCreationException(String beanName, String msg)
Create a new BeanCurrentlyInCreationException.
[Expand]
Inherited Methods
From class org.springframework.beans.factory.BeanCreationException
From class org.springframework.beans.BeansException
From class org.springframework.core.NestedRuntimeException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public BeanCurrentlyInCreationException (String beanName)

Also: SpringBeans

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

Parameters
beanName the name of the bean requested

public BeanCurrentlyInCreationException (String beanName, String msg)

Also: SpringBeans

Create a new BeanCurrentlyInCreationException.

Parameters
beanName the name of the bean requested
msg the detail message