Class BeanCreationNotAllowedException

All Implemented Interfaces:
Serializable

public class BeanCreationNotAllowedException extends BeanCreationException
Exception thrown in case of a bean being requested despite bean creation currently not being allowed (for example, during the shutdown phase of a bean factory).
Since:
2.0
Author:
Juergen Hoeller
See Also:
  • Constructor Details

    • BeanCreationNotAllowedException

      public BeanCreationNotAllowedException(String beanName, String msg)
      Create a new BeanCreationNotAllowedException.
      Parameters:
      beanName - the name of the bean requested
      msg - the detail message