function listener(oPromise, bCaught) {
		if (bCaught) {
			delete mUncaughtById[oPromise.$id];
			if (bInfo) {
				jQuery.sap.log.info("Promise " + oPromise.$id + " caught",
					Object.keys(mUncaughtById), sClassName);
			}
			return;
		}

		oPromise.$id = iNo++;
		oPromise.$error = new Error();
		mUncaughtById[oPromise.$id] = oPromise;
		if (bInfo) {
			jQuery.sap.log.info("Promise " + oPromise.$id + " rejected with "
				+ oPromise.getResult(), Object.keys(mUncaughtById), sClassName);
		}
	}
/**
	 * Listener for sync promises which become (un)caught.
	 *
	 * @param {sap.ui.base.SyncPromise} oPromise
	 *   A sync promise
	 * @param {boolean} bCaught
	 *   Tells whether the given sync promise became caught
	 */
Listener for sync promises which become (un)caught.
@param {sap.ui.base.SyncPromise} oPromise
A sync promise
@param {boolean} bCaught
Tells whether the given sync promise became caught
Listener for sync promises which become ( un ) caught . @param { sap . ui . base . SyncPromise } oPromise A sync promise @param { boolean } bCaught Tells whether the given sync promise became caught
function listener(oPromise, bCaught) {
		if (bCaught) {
			delete mUncaughtById[oPromise.$id];
			if (bInfo) {
				jQuery.sap.log.info("Promise " + oPromise.$id + " caught",
					Object.keys(mUncaughtById), sClassName);
			}
			return;
		}
		oPromise.$id = iNo++;
		oPromise.$error = new Error();
		mUncaughtById[oPromise.$id] = oPromise;
		if (bInfo) {
			jQuery.sap.log.info("Promise " + oPromise.$id + " rejected with "
				+ oPromise.getResult(), Object.keys(mUncaughtById), sClassName);
		}
	}
function listener ( oPromise , bCaught ) { if ( bCaught ) { delete mUncaughtById [ oPromise . $id ] ; if ( bInfo ) { jQuery . sap . log . info ( "Promise " + oPromise . $id + " caught" , Object . keys ( mUncaughtById ) , sClassName ) ; } return ; } oPromise . $id = iNo ++ ; oPromise . $error = new Error ( ) ; mUncaughtById [ oPromise . $id ] = oPromise ; if ( bInfo ) { jQuery . sap . log . info ( "Promise " + oPromise . $id + " rejected with " + oPromise . getResult ( ) , Object . keys ( mUncaughtById ) , sClassName ) ; } }
Listener for sync promises which become (un)caught.
Listener for sync promises which become ( un ) caught .