Added an exception event to the game loop.