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
An exception relative to a
ServiceProvider
.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionA general purpose exception from the Injection framework.InjectionServiceProviderException
(String msg, ServiceProvider<?> serviceProvider) A general purpose exception from the Injection framework.InjectionServiceProviderException
(String msg, Throwable cause) A general purpose exception from the Injection framework.InjectionServiceProviderException
(String msg, Throwable cause, ServiceProvider<?> serviceProvider) A general purpose exception from the Injection framework. -
Method Summary
Modifier and TypeMethodDescriptionThe 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
A general purpose exception from the Injection framework.- Parameters:
msg
- the message
-
InjectionServiceProviderException
A general purpose exception from the Injection framework.- Parameters:
msg
- the messagecause
- the root cause
-
InjectionServiceProviderException
A general purpose exception from the Injection framework.- Parameters:
msg
- the messageserviceProvider
- the service provider
-
InjectionServiceProviderException
public InjectionServiceProviderException(String msg, Throwable cause, ServiceProvider<?> serviceProvider) A general purpose exception from the Injection framework.- Parameters:
msg
- the messagecause
- the root causeserviceProvider
- the service provider
-
-
Method Details
-
serviceProvider
The service provider that this exception pertains to, or empty if not related to any particular provider.- Returns:
- the optional / contextual service provider
-
getMessage
- Overrides:
getMessage
in classThrowable
-