public interface OnReject<F extends Throwable>
Listener for a Promise entering a Promise.REJECTED state.
Promise| Modifier and Type | Method and Description |
|---|---|
void |
reject(F fail) |
void reject(F fail)
fail - The exception thrown by the computation represented by this promise.Copyright © 2014 MachineCode. All rights reserved.