| | |
| | | import org.forgerock.util.Function; |
| | | import org.forgerock.util.promise.Promise; |
| | | import org.forgerock.util.promise.ResultHandler; |
| | | import org.forgerock.util.promise.RuntimeExceptionHandler; |
| | | |
| | | import static org.forgerock.opendj.ldap.spi.LdapPromises.*; |
| | | |
| | |
| | | } |
| | | |
| | | @Override |
| | | public void thenOnRuntimeException(RuntimeExceptionHandler onRuntimeException) { |
| | | wrappedPromise.thenOnRuntimeException(onRuntimeException); |
| | | } |
| | | |
| | | @Override |
| | | public LdapPromise<R> thenOnResult(ResultHandler<? super R> onResult) { |
| | | wrappedPromise.thenOnResult(onResult); |
| | | return this; |