Catch exception if invalid semester is entered in override