private void readStudents(Element node, Group group) throws ServerException {
		if (log.isDebugEnabled())
			log.debug("Method call. Arguments: " + group);
		Element studentsNode = (Element) node.getElementsByTagName("students")
				.item(0);
		if (studentsNode == null) {
			ServerException ex = new ServerException(
					"Can't read student from group " + group.getNumber());
			log.error("Exception", ex);
			throw ex;
		}
		NodeList students = studentsNode.getElementsByTagName("student");
		try {
			for (int i = 0; i < students.getLength(); i++) {
				NamedNodeMap attributes = students.item(i).getAttributes();
				Student student = new Student();
				student.setEnrolled(attributes.getNamedItem("enrolled")
						.getTextContent());
				student.setFirstName(attributes.getNamedItem("firstname")
						.getTextContent());
				student.setGroupNumber(attributes.getNamedItem("groupnumber")
						.getTextContent());
				student.setId(new Integer(attributes.getNamedItem("id")
						.getTextContent()));
				student.setLastName(attributes.getNamedItem("lastname")
						.getTextContent());
				group.addStudent(student);
			}
		} catch (NumberFormatException e) {
			ServerException ex = new ServerException("Wrong id in database", e);
			log.error("Exception", ex);
			throw ex;
		} catch (DOMException e) {
			ServerException ex = new ServerException("Database reading error!",
					e);
			log.error("Exception", ex);
			throw ex;
		} catch (ParseException e) {
			ServerException ex = new ServerException("Database reading error!",
					e);
			log.error("Exception", ex);
			throw ex;
		}
	}