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.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 Summary
ConstructorsConstructorDescriptionInvocationException(String msg, boolean targetWasCalled) Deprecated, for removal: This API element is subject to removal in a future version.Constructor.InvocationException(String msg, Throwable cause, boolean targetWasCalled) Deprecated, for removal: This API element is subject to removal in a future version.Constructor.InvocationException(String msg, Throwable cause, ServiceProvider<?> serviceProvider, boolean targetWasCalled) Deprecated, for removal: This API element is subject to removal in a future version.Constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated, for removal: This API element is subject to removal in a future version.Returns true if the final target of interception was ultimately called.Methods inherited from class io.helidon.inject.api.InjectionServiceProviderException
getMessage, serviceProviderMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvocationException
Deprecated, for removal: This API element is subject to removal in a future version.Constructor.- Parameters:
msg- the messagetargetWasCalled- set to true if the target of interception was ultimately called successfully
-
InvocationException
Deprecated, for removal: This API element is subject to removal in a future version.Constructor.- Parameters:
msg- the messagecause- the root causetargetWasCalled- 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 messagecause- the root causeserviceProvider- the service providertargetWasCalled- 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
-