@FunctionalInterface public interface InvocationExceptionFunction<C extends VisitableCommand> extends InvocationCallback<C>
BaseAsyncInterceptor.invokeNextAndExceptionally(InvocationContext, VisitableCommand, InvocationExceptionFunction).| Modifier and Type | Method and Description |
|---|---|
default Object |
apply(InvocationContext rCtx,
C rCommand,
Object rv,
Throwable throwable)
Process the result or the exception from an invocation stage and either return a simple value,
return a new
InvocationStage, or throw an exception. |
Object |
apply(InvocationContext rCtx,
C rCommand,
Throwable throwable)
Process the result from a successful invocation stage and either return a simple value,
return a new
InvocationStage, or throw an exception. |
Object apply(InvocationContext rCtx, C rCommand, Throwable throwable) throws Throwable
InvocationStage, or throw an exception.Throwabledefault Object apply(InvocationContext rCtx, C rCommand, Object rv, Throwable throwable) throws Throwable
InvocationCallbackInvocationStage, or throw an exception.apply in interface InvocationCallback<C extends VisitableCommand>ThrowableCopyright © 2022 JBoss by Red Hat. All rights reserved.