class RuntimeExceptionDao implements Dao<T, ID> {

	@Override
	public List<T> queryForAll() {
		try {
			return dao.queryForAll();
		} catch (SQLException e) {
			logMessage(e, "queryForAll threw exception");
			throw new RuntimeException(e);
		}
	}

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

}