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
Wraps any checked exceptions that are thrown during the
Interceptor invocations.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvocationException(String msg, boolean targetWasCalled) Constructor.InvocationException(String msg, Throwable cause, boolean targetWasCalled) Constructor.InvocationException(String msg, Throwable cause, ServiceProvider<?> serviceProvider, boolean targetWasCalled) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns 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
Constructor.- Parameters:
msg- the messagetargetWasCalled- set to true if the target of interception was ultimately called successfully
-
InvocationException
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) 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()Returns true if the final target of interception was ultimately called.- Returns:
- if the target being intercepted was ultimately called successfully
-