Class ScopeNotActiveException

All Implemented Interfaces:
Serializable

public class ScopeNotActiveException extends BeanCreationException
A subclass of BeanCreationException which indicates that the target scope is not active, for example, in case of request or session scope.
Since:
5.3
Author:
Juergen Hoeller
See Also:
  • Constructor Details

    • ScopeNotActiveException

      public ScopeNotActiveException(String beanName, String scopeName, IllegalStateException cause)
      Create a new ScopeNotActiveException.
      Parameters:
      beanName - the name of the bean requested
      scopeName - the name of the target scope
      cause - the root cause, typically from Scope.get(String, ObjectFactory)