Class FactoryBeanNotInitializedException

  • All Implemented Interfaces:
    java.io.Serializable

    public class FactoryBeanNotInitializedException
    extends BeanCreationException
    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.
    See Also:
    Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • FactoryBeanNotInitializedException

        public FactoryBeanNotInitializedException​(BeanRule beanRule)
        Instantiates a new FactoryBeanNotInitializedException.
        Parameters:
        beanRule - the bean rule
      • FactoryBeanNotInitializedException

        public FactoryBeanNotInitializedException​(java.lang.String msg,
                                                  BeanRule beanRule)
        Instantiates a new FactoryBeanNotInitializedException.
        Parameters:
        msg - the detail message
        beanRule - the bean rule