event loop able to throw an exception if the answer entered is incorrect.