Top Description Constructors Methods
org.springframework.beans.factory

public Class BeanCurrentlyInCreationException

extends BeanCreationException
Class Inheritance
Annotations
@SuppressWarnings:serial

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

Constructor Summary

AccessConstructor and Description
public
BeanCurrentlyInCreationException(String
the name of the bean requested
beanName
)

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

public
BeanCurrentlyInCreationException(String
the name of the bean requested
beanName
,
String
the detail message
msg
)

Create a new BeanCurrentlyInCreationException.

Method Summary

Inherited from org.springframework.beans.factory.BeanCreationException:
addRelatedCausecontainsgetBeanNamegetRelatedCausesgetResourceDescriptionprintStackTraceprintStackTracetoString

Constructor Detail

BeanCurrentlyInCreationExceptionback to summary
public BeanCurrentlyInCreationException(String beanName)

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

Parameters
beanName:String

the name of the bean requested

BeanCurrentlyInCreationExceptionback to summary
public BeanCurrentlyInCreationException(String beanName, String msg)

Create a new BeanCurrentlyInCreationException.

Parameters
beanName:String

the name of the bean requested

msg:String

the detail message