added type validation for studentdialog
implemented value validation
added custom DAOException