public void closeResultSet(ResultSet rs) {
		try {
			if (rs != null && !rs.isClosed()) {
				rs.close();
			}
		} catch (Exception e) {
			log.log(Level.WARNING,"The following error occurred when trying to close a result set: " + e.getMessage());
		}
	}