java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.helidon.service.registry.ServiceRegistryException
io.helidon.service.registry.InterceptionException
- All Implemented Interfaces:
Serializable
Wraps any checked exceptions that are thrown during the
Interception.Interceptor
invocations.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInterceptionException
(String msg, boolean targetWasCalled) Constructor.InterceptionException
(String msg, Throwable cause, boolean targetWasCalled) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns true if the final target of interception was ultimately called.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InterceptionException
Constructor.- Parameters:
msg
- the messagetargetWasCalled
- set to true if the target of interception was ultimately called successfully
-
InterceptionException
Constructor.- Parameters:
msg
- the messagecause
- the root causetargetWasCalled
- 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
-