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, e.g. in case of request or session scope.- Since:
- 5.3
- Author:
- Juergen Hoeller
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionScopeNotActiveException(String beanName, String scopeName, IllegalStateException cause) Create a new ScopeNotActiveException.
- 
Method SummaryMethods inherited from class org.springframework.beans.factory.BeanCreationExceptionaddRelatedCause, contains, getBeanName, getRelatedCauses, getResourceDescription, printStackTrace, printStackTrace, toStringMethods inherited from class org.springframework.core.NestedRuntimeExceptiongetMessage, getMostSpecificCause, getRootCauseMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace
- 
Constructor Details- 
ScopeNotActiveExceptionCreate 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(java.lang.String, org.springframework.beans.factory.ObjectFactory<?>)
 
 
-