Uses of Interface
org.forgerock.util.promise.RuntimeExceptionHandler
-
Uses of RuntimeExceptionHandler in org.forgerock.util.promise
Modifier and TypeClassDescriptionclass
PromiseImpl<V,
E extends Exception> An implementation ofPromise
which can be used as is, or as the basis for more complex asynchronous behavior.Modifier and TypeMethodDescription<T extends ResultHandler<? super V> & ExceptionHandler<? super E> & RuntimeExceptionHandler>
Promise<V,E> Promise.thenOnCompletion
(T handler) Registers the provided completion handler for notification for all completion cases of thisPromise
.final <T extends ResultHandler<? super V> & ExceptionHandler<? super E> & RuntimeExceptionHandler>
Promise<V,E> PromiseImpl.thenOnCompletion
(T handler) Modifier and TypeMethodDescriptionPromise.thenOnRuntimeException
(RuntimeExceptionHandler onRuntimeException) Registers the provided completion handler for notification if thisPromise
cannot be completed due to an runtime exception.PromiseImpl.thenOnRuntimeException
(RuntimeExceptionHandler onRuntimeException)