src/org/ohmage/service/ObserverServices.java
public void createObserver(
			final String username,
			final Observer observer) 
			throws ServiceException {
		
		try {
			observerQueries.createObserver(username, observer);
		}
		catch(DataAccessException e) {
			throw new ServiceException(e);
		}
	}
/**
	 * Creates a new observer in the system and associates it with a user.
	 * 
	 * @param 
	 * 
	 * @param observer The observer.
	 * 
	 * @throws ServiceException There was an error.
	 */
Creates a new observer in the system and associates it with a user.

@param

@param observer The observer.

@throws ServiceException There was an error.
Creates a new observer in the system and associates it with a user . @param @param observer The observer . @throws ServiceException There was an error .
public void createObserver(
			final String username,
			final Observer observer) 
			throws ServiceException {
		try {
			observerQueries.createObserver(username, observer);
		}
		catch(DataAccessException e) {
			throw new ServiceException(e);
		}
	}
public void createObserver ( final String username , final Observer observer ) throws ServiceException { try { observerQueries . createObserver ( username , observer ) ; } catch ( DataAccessException e ) { throw new ServiceException ( e ) ; } }
Creates a new observer in the system and associates it with a user.
Creates a new observer in the system and associates it with a user .