Uses of Interface
org.forgerock.util.promise.ExceptionHandler
Packages that use ExceptionHandler
Package
Description
Classes and interfaces for core types including connections, entries, and
attributes.
An implementation of the
Promise API in Java.-
Uses of ExceptionHandler in org.forgerock.opendj.ldap
Subinterfaces of ExceptionHandler in org.forgerock.opendj.ldapModifier and TypeInterfaceDescriptioninterfaceA completion handler for consuming the result of an asynchronous operation or connection attempts.Methods in org.forgerock.opendj.ldap with parameters of type ExceptionHandlerModifier and TypeMethodDescriptionLdapPromise.thenOnException(ExceptionHandler<? super LdapException> onException) 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 ExceptionHandlerModifier and TypeClassDescriptionclassPromiseImpl<V,E extends Exception> An implementation ofPromisewhich 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 ExceptionHandlerModifier 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) Methods in org.forgerock.util.promise with parameters of type ExceptionHandlerModifier and TypeMethodDescriptionPromise.thenOnException(ExceptionHandler<? super E> onException) Registers the provided completion handler for notification if thisPromisecannot be completed due to an exception.PromiseImpl.thenOnException(ExceptionHandler<? super E> onException) Promise.thenOnResultOrException(ResultHandler<? super V> onResult, ExceptionHandler<? super E> onException) Registers the provided completion handlers for notification once thisPromisehas completed (with a result or an exception).PromiseImpl.thenOnResultOrException(ResultHandler<? super V> onResult, ExceptionHandler<? super E> onException)