feature(util) rm tryCatch{Debug, Call}

This commit is contained in:
coderaiser 2014-05-23 05:52:47 -04:00
parent 7bd426dace
commit 47691d4002

View file

@ -686,21 +686,6 @@
return ret;
};
/**
* function execute param function in
* try...catch block and log result
*
* @param pTryFunc
*/
this.tryCatchDebug = function(pTryFunc) {
var ret = Util.tryCatch(pTryFunc);
if (ret)
Util.debug();
return ret;
};
/**
* function execute param function in
* try...catch block and log result
@ -715,23 +700,6 @@
return Util.logError(ret);
};
/**
* function execute param function in
* try...catch block and log result
*
* @param pCallBack
*/
this.tryCatchCall = function(pTryFunc, pCallBack) {
var ret;
ret = Util.tryCatch(pTryFunc);
if (ret)
Util.exec(pCallBack, ret);
return ret;
};
/**
* function do save exec of function
* @param pCallBack