Class 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 Details

    • InjectionServiceProviderException

      public InjectionServiceProviderException(String msg)
      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

      public 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.
      Parameters:
      msg - the message
      cause - the root cause
    • InjectionServiceProviderException

      public 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.
      Parameters:
      msg - the message
      serviceProvider - 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 message
      cause - the root cause
      serviceProvider - the service provider
  • Method Details

    • serviceProvider

      public Optional<ServiceProvider<?>> 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

      public String getMessage()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      getMessage in class Throwable