class RuntimeExceptionDao implements Dao<T, ID> {

	@Override
	public <CT> CT callBatchTasks(Callable<CT> callable) {
		try {
			return dao.callBatchTasks(callable);
		} catch (Exception e) {
			logMessage(e, "callBatchTasks threw exception on: " + callable);
			throw new RuntimeException(e);
		}
	}

	public  RuntimeExceptionDao(Dao<T, ID> dao);

}