Class ScopeNotActiveException
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.support.ScopeNotActiveException
- All Implemented Interfaces:
 Serializable
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 Summary
ConstructorsConstructorDescriptionScopeNotActiveException(String beanName, String scopeName, IllegalStateException cause) Create a new ScopeNotActiveException. - 
Method Summary
Methods inherited from class org.springframework.beans.factory.BeanCreationException
addRelatedCause, contains, getBeanName, getRelatedCauses, getResourceDescription, printStackTrace, printStackTrace, toStringMethods inherited from class org.springframework.core.NestedRuntimeException
getMostSpecificCause, getRootCauseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace 
- 
Constructor Details
- 
ScopeNotActiveException
Create a new ScopeNotActiveException.- Parameters:
 beanName- the name of the bean requestedscopeName- the name of the target scopecause- the root cause, typically fromScope.get(java.lang.String, org.springframework.beans.factory.ObjectFactory<?>)
 
 -