Class InvocationException

All Implemented Interfaces:
Serializable

@Deprecated(forRemoval=true, since="4.0.8") public class InvocationException extends InjectionServiceProviderException
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
Wraps any checked exceptions that are thrown during the Interceptor invocations.
See Also:
  • Constructor Details

    • InvocationException

      public InvocationException(String msg, boolean targetWasCalled)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Constructor.
      Parameters:
      msg - the message
      targetWasCalled - set to true if the target of interception was ultimately called successfully
    • InvocationException

      public InvocationException(String msg, Throwable cause, boolean targetWasCalled)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Constructor.
      Parameters:
      msg - the message
      cause - the root cause
      targetWasCalled - set to true if the target of interception was ultimately called successfully
    • InvocationException

      public InvocationException(String msg, Throwable cause, ServiceProvider<?> serviceProvider, boolean targetWasCalled)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Constructor.
      Parameters:
      msg - the message
      cause - the root cause
      serviceProvider - the service provider
      targetWasCalled - set to true if the target of interception was ultimately called successfully
  • Method Details

    • targetWasCalled

      public boolean targetWasCalled()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns true if the final target of interception was ultimately called.
      Returns:
      if the target being intercepted was ultimately called successfully