src/org/ohmage/service/ClassServices.java
public void createClass(final String classId, 
			final String className, final String classDescription) 
			throws ServiceException {
		
		try {
			classQueries.createClass(classId, className, classDescription);
		}
		catch(DataAccessException e) {
			throw new ServiceException(e);
		}
	}
/**
	 * Creates a new class.
	 * 
	 * @param classId The unique identifier for the new class.
	 * 
	 * @param className The new class' name.
	 * 
	 * @param classDescription An optional description for the new class.
	 * 
	 * @throws ServiceException Thrown if there is an error.
	 */
Creates a new class.

@param classId The unique identifier for the new class.

@param className The new class' name.

@param classDescription An optional description for the new class.

@throws ServiceException Thrown if there is an error.
Creates a new class . @param classId The unique identifier for the new class . @param className The new class ' name . @param classDescription An optional description for the new class . @throws ServiceException Thrown if there is an error .
public void createClass(final String classId, 
			final String className, final String classDescription) 
			throws ServiceException {
		try {
			classQueries.createClass(classId, className, classDescription);
		}
		catch(DataAccessException e) {
			throw new ServiceException(e);
		}
	}
public void createClass ( final String classId , final String className , final String classDescription ) throws ServiceException { try { classQueries . createClass ( classId , className , classDescription ) ; } catch ( DataAccessException e ) { throw new ServiceException ( e ) ; } }
Creates a new class.
Creates a new class .