public void createTeamFormingSession(String courseID, Date start, Date deadline, double timeZone, int gracePeriod,
String instructions, String profileTemplate)
throws TeamFormingSessionExistsException {
if (getTeamFormingSession(courseID, deadline) != null) {
throw new TeamFormingSessionExistsException();
}
//System.out.println("Inserting session: "+deadline+ " and course: "+courseID);
TeamFormingSession teamFormingSession = new TeamFormingSession(courseID, start, deadline, timeZone, gracePeriod,
instructions, profileTemplate);