org.springframework.beans.factory

## 类 FactoryBeanNotInitializedException

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

- 所有已实现的接口:
    Serializable

      public class FactoryBeanNotInitializedException
      extends FatalBeanException

  Exception to be thrown from a FactoryBean's `getObject()` method if the bean is not fully initialized yet, for example because it is involved in a circular reference.

  Note: A circular reference with a FactoryBean cannot be solved by eagerly caching singleton instances like with normal beans. The reason is that every FactoryBean needs to be fully initialized before it can return the created bean, while only specific normal beans need to be initialized - that is, if a collaborating bean actually invokes them on initialization instead of just storing the reference.

  从以下版本开始:
    30.10.2003
  作者:
    Juergen Hoeller
  另请参阅:
    `FactoryBean.getObject()`, 序列化表格

- - ### 构造器概要

    构造器
    构造器和说明
    `FactoryBeanNotInitializedException()` Create a new FactoryBeanNotInitializedException with the default message.
    `FactoryBeanNotInitializedException(String msg)` Create a new FactoryBeanNotInitializedException with the given message.

  - ### 方法概要

    - ### 从类继承的方法 org.springframework.core.NestedRuntimeException

      `contains, getMessage, getMostSpecificCause, getRootCause`

    - ### 从类继承的方法 java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### 构造器详细资料

    - #### FactoryBeanNotInitializedException

          public FactoryBeanNotInitializedException()

      Create a new FactoryBeanNotInitializedException with the default message.

    - #### FactoryBeanNotInitializedException

          public FactoryBeanNotInitializedException(String msg)

      Create a new FactoryBeanNotInitializedException with the given message.
      参数:
        `msg` - the detail message