java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.helidon.inject.api.InjectionException
io.helidon.inject.api.InjectionServiceProviderException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InvocationException,ServiceProviderInjectionException
@Deprecated(forRemoval=true,
since="4.0.8")
public class InjectionServiceProviderException
extends InjectionException
Deprecated, for removal: This API element is subject to removal in a future version.
Helidon inject is deprecated and will be replaced in a future version
An exception relative to a
ServiceProvider.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.A general purpose exception from the Injection framework.InjectionServiceProviderException(String msg, ServiceProvider<?> serviceProvider) Deprecated, for removal: This API element is subject to removal in a future version.A general purpose exception from the Injection framework.InjectionServiceProviderException(String msg, Throwable cause) Deprecated, for removal: This API element is subject to removal in a future version.A general purpose exception from the Injection framework.InjectionServiceProviderException(String msg, Throwable cause, ServiceProvider<?> serviceProvider) Deprecated, for removal: This API element is subject to removal in a future version.A general purpose exception from the Injection framework. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.The service provider that this exception pertains to, or empty if not related to any particular provider.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InjectionServiceProviderException
Deprecated, for removal: This API element is subject to removal in a future version.A general purpose exception from the Injection framework.- Parameters:
msg- the message
-
InjectionServiceProviderException
Deprecated, for removal: This API element is subject to removal in a future version.A general purpose exception from the Injection framework.- Parameters:
msg- the messagecause- the root cause
-
InjectionServiceProviderException
Deprecated, for removal: This API element is subject to removal in a future version.A general purpose exception from the Injection framework.- Parameters:
msg- the messageserviceProvider- the service provider
-
InjectionServiceProviderException
public InjectionServiceProviderException(String msg, Throwable cause, ServiceProvider<?> serviceProvider) Deprecated, for removal: This API element is subject to removal in a future version.A general purpose exception from the Injection framework.- Parameters:
msg- the messagecause- the root causeserviceProvider- the service provider
-
-
Method Details
-
serviceProvider
Deprecated, for removal: This API element is subject to removal in a future version.The service provider that this exception pertains to, or empty if not related to any particular provider.- Returns:
- the optional / contextual service provider
-
getMessage
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getMessagein classThrowable
-