src/org/ohmage/domain/Image.java
public boolean validate() {
		try {
			imageData.get(ORIGINAL).getBufferedImage();
			return true;
		} catch (DomainException e) {
			LOGGER.error(
					"The image data is invalid: " + id.toString(),
					e);
			return false;
		}
	}
/**
	 * Validates that the data that this image references is valid image data.
	 * 
	 * @throws DomainException
	 *         The data could not be read or is not valid image data.
	 */
Validates that the data that this image references is valid image data.

@throws DomainException
The data could not be read or is not valid image data.
Validates that the data that this image references is valid image data . @throws DomainException The data could not be read or is not valid image data .
public boolean validate() {
		try {
			imageData.get(ORIGINAL).getBufferedImage();
			return true;
		} catch (DomainException e) {
			LOGGER.error(
					"The image data is invalid: " + id.toString(),
					e);
			return false;
		}
	}
public boolean validate ( ) { try { imageData . get ( ORIGINAL ) . getBufferedImage ( ) ; return true ; } catch ( DomainException e ) { LOGGER . error ( "The image data is invalid: " + id . toString ( ) , e ) ; return false ; } }
Validates that the data that this image references is valid image data.
Validates that the data that this image references is valid image data .