Uses of Interface
org.forgerock.util.promise.ExceptionHandler
-
Packages that use ExceptionHandler Package Description org.forgerock.opendj.ldap Classes and interfaces for core types including connections, entries, and attributes.org.forgerock.util.promise An implementation of thePromise
API in Java. -
-
Uses of ExceptionHandler in org.forgerock.opendj.ldap
Subinterfaces of ExceptionHandler in org.forgerock.opendj.ldap Modifier and Type Interface Description interface
LdapResultHandler<S>
A completion handler for consuming the result of an asynchronous operation or connection attempts.Methods in org.forgerock.opendj.ldap with parameters of type ExceptionHandler Modifier and Type Method Description LdapPromise<S>
LdapPromise. thenOnException(ExceptionHandler<? super LdapException> onException)
LdapPromise<S>
LdapPromise. thenOnResultOrException(ResultHandler<? super S> onResult, ExceptionHandler<? super LdapException> onException)
-
Uses of ExceptionHandler in org.forgerock.util.promise
Classes in org.forgerock.util.promise that implement ExceptionHandler Modifier and Type Class Description class
PromiseImpl<V,E extends Exception>
An implementation ofPromise
which can be used as is, or as the basis for more complex asynchronous behavior.Methods in org.forgerock.util.promise with type parameters of type ExceptionHandler Modifier and Type Method Description <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
.<T extends ResultHandler<? super V> & ExceptionHandler<? super E> & RuntimeExceptionHandler>
Promise<V,E>PromiseImpl. thenOnCompletion(T handler)
Methods in org.forgerock.util.promise with parameters of type ExceptionHandler Modifier and Type Method Description Promise<V,E>
Promise. thenOnException(ExceptionHandler<? super E> onException)
Registers the provided completion handler for notification if thisPromise
cannot be completed due to an exception.Promise<V,E>
PromiseImpl. thenOnException(ExceptionHandler<? super E> onException)
Promise<V,E>
Promise. thenOnResultOrException(ResultHandler<? super V> onResult, ExceptionHandler<? super E> onException)
Registers the provided completion handlers for notification once thisPromise
has completed (with a result or an exception).Promise<V,E>
PromiseImpl. thenOnResultOrException(ResultHandler<? super V> onResult, ExceptionHandler<? super E> onException)
-