You should say that your network rebooted by itself and then it resetted your network password or whatever, so you couldn't get the password by yourself so you couldn't attend the final exam, or you could ask your parents to tell your teacher that you were sick, I don't encourage the 1st option I gave :3
Charles dickens lived a couple of doors from a london warehouse two times and he thought he was fortunate not to have to go through the same thing oliver twist had to go through.