src/org/ohmage/query/impl/CampaignImageQueries.java
@Override
						public Collection<UUID> extractData(ResultSet rs)
								throws SQLException,
								org.springframework.dao.DataAccessException {
							
							Collection<UUID> result = new HashSet<UUID>();
							while(rs.next()) {
								try {
									result.add(
											UUID.fromString(
													rs.getString("uuid")));
								}
								catch(IllegalArgumentException e) {
									// This is fine. The row should be ignored
									// because this indicates that it was 
									// skipped, not displayed, etc.
								}
							}
							return result;
						}
/**
						 * Retrieves all of the UUIDs only from the query and
						 * ignores the skipped, not displayed, etc. responses.
						 * 
						 * @param rs The result set from the database.
						 * 
						 * @return A collection of the UUIDs only from the
						 * 		   corresponding survey responses.
						 * 
						 * @throws SQLException Thrown if there is an error.
						 * 
						 * @throws org.springframework.dao.DataAccessException
						 * 		   Thrown if there is an error.
						 */
Retrieves all of the UUIDs only from the query and
ignores the skipped, not displayed, etc. responses.

@param rs The result set from the database.

@return A collection of the UUIDs only from the
corresponding survey responses.

@throws SQLException Thrown if there is an error.

@throws org.springframework.dao.DataAccessException
Thrown if there is an error.
Retrieves all of the UUIDs only from the query and ignores the skipped not displayed etc . responses . @param rs The result set from the database . @return A collection of the UUIDs only from the corresponding survey responses . @throws SQLException Thrown if there is an error . @throws org . springframework . dao . DataAccessException Thrown if there is an error .
@Override
						public Collection<UUID> extractData(ResultSet rs)
								throws SQLException,
								org.springframework.dao.DataAccessException {
							Collection<UUID> result = new HashSet<UUID>();
							while(rs.next()) {
								try {
									result.add(
											UUID.fromString(
													rs.getString("uuid")));
								}
								catch(IllegalArgumentException e) {
								}
							}
							return result;
						}
@ Override public Collection < UUID > extractData ( ResultSet rs ) throws SQLException , org . springframework . dao . DataAccessException { Collection < UUID > result = new HashSet < UUID > ( ) ; while ( rs . next ( ) ) { try { result . add ( UUID . fromString ( rs . getString ( "uuid" ) ) ) ; } catch ( IllegalArgumentException e ) { } } return result ; }
Retrieves all of the UUIDs only from the query and
 ignores the skipped, not displayed, etc.
Retrieves all of the UUIDs only from the query and ignores the skipped not displayed etc .
// This is fine. The row should be ignored // because this indicates that it was  // skipped, not displayed, etc.