Class ServiceProviderInjectionException

All Implemented Interfaces:
Serializable

public class ServiceProviderInjectionException extends InjectionServiceProviderException
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 Details

    • ServiceProviderInjectionException

      public ServiceProviderInjectionException(String msg)
      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 message
      cause - the root cause
      serviceProvider - the service provider
    • ServiceProviderInjectionException

      public ServiceProviderInjectionException(String msg, ServiceProvider<?> serviceProvider)
      Injection, or a required service lookup related exception.
      Parameters:
      msg - the message
      serviceProvider - the service provider
  • Method Details

    • activationLog

      public Optional<ActivationLog> 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