Updates for issue #477, wrap exceptions which may be thrown in sumTimes and rethrow