Rename SuccessOrErrorPromise to Promise.
Javadoc fix.