Module io.helidon.service.registry
Package io.helidon.service.registry
Class ScopeNotActiveException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.helidon.service.registry.ServiceRegistryException
io.helidon.service.registry.ScopeNotActiveException
- All Implemented Interfaces:
Serializable
An attempt was done to get a service instance from a scope that is not active.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionScopeNotActiveException
(String msg, TypeName scope) Create a new exception with a description and scope this exception is created for. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ScopeNotActiveException
Create a new exception with a description and scope this exception is created for.- Parameters:
msg
- descriptive messagescope
- scope that failed to be found
-
-
Method Details
-
scope
Scope that was not active.- Returns:
- scope
-