function throwException( ex ){
        return function reThrowException(){
            throw ex;
        };
    }
Returns a function that throws the passed exception, for use as argument for setTimeout
@alias throwException
@function
@param { Object } ex An Error object