java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.helidon.inject.api.InjectionException
io.helidon.inject.api.InjectionServiceProviderException
io.helidon.inject.api.ServiceProviderInjectionException
- All Implemented Interfaces:
Serializable
Represents an injection exception. These might be thrown either at compile time or at runtime depending upon how the
application is built.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInjection, or a required service lookup related exception.ServiceProviderInjectionException
(String msg, ServiceProvider<?> serviceProvider) Injection, or a required service lookup related exception.ServiceProviderInjectionException
(String msg, Throwable cause, ServiceProvider<?> serviceProvider) Injection, or a required service lookup related exception. -
Method Summary
Modifier and TypeMethodDescriptionReturns the activation log if available.Sets the activation log on this exception instance.Methods inherited from class io.helidon.inject.api.InjectionServiceProviderException
getMessage, serviceProvider
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ServiceProviderInjectionException
Injection, or a required service lookup related exception.- Parameters:
msg
- the message
-
ServiceProviderInjectionException
public ServiceProviderInjectionException(String msg, Throwable cause, ServiceProvider<?> serviceProvider) Injection, or a required service lookup related exception.- Parameters:
msg
- the messagecause
- the root causeserviceProvider
- the service provider
-
ServiceProviderInjectionException
Injection, or a required service lookup related exception.- Parameters:
msg
- the messageserviceProvider
- the service provider
-
-
Method Details
-
activationLog
Returns the activation log if available.- Returns:
- the optional activation log
-
activationLog
Sets the activation log on this exception instance.- Parameters:
log
- the activation log- Returns:
- this exception instance
-