Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| The Spring Framework
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.springframework.beans.factory
Class BeanCurrentlyInCreationException

    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

All Implemented Interfaces:
  Serializable

    public class BeanCurrentlyInCreationException

extends 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.

Since:
  1.1
Author:
  Juergen Hoeller
See Also:
  Serialized Form

Constructor Summary
`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.

Method Summary

Methods inherited from class org.springframework.beans.factory.BeanCreationException
`addRelatedCause, contains, getBeanName, getRelatedCauses, getResourceDescription, printStackTrace, printStackTrace, toString`

Methods inherited from class org.springframework.beans.BeansException
`equals, hashCode`

Methods inherited from class org.springframework.core.NestedRuntimeException
`getMessage, getMostSpecificCause, getRootCause`

Methods inherited from class java.lang.Throwable
`fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

Constructor Detail

### BeanCurrentlyInCreationException

    public BeanCurrentlyInCreationException(String beanName)

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

  Parameters:
    `beanName` - the name of the bean requested

### BeanCurrentlyInCreationException

    public BeanCurrentlyInCreationException(String beanName,
                                            String msg)

  Create a new BeanCurrentlyInCreationException.

  Parameters:
    `beanName` - the name of the bean requested
    `msg` - the detail message

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| The Spring Framework
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002-2008 The Spring Framework.