java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.helidon.pico.api.PicoException
io.helidon.pico.api.PicoServiceProviderException
io.helidon.pico.api.InjectionException
- 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
ConstructorsConstructorDescriptionInjectionException(String msg) Injection, or a required service lookup related exception.InjectionException(String msg, ServiceProvider<?> serviceProvider) Injection, or a required service lookup related exception.InjectionException(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.pico.api.PicoServiceProviderException
getMessage, serviceProviderMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InjectionException
Injection, or a required service lookup related exception.- Parameters:
msg- the message
-
InjectionException
Injection, or a required service lookup related exception.- Parameters:
msg- the messagecause- the root causeserviceProvider- the service provider
-
InjectionException
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
-