InputMismatchException is handled to inform the user and ask to try input again. InvalidInputException is handled to throw an exception message and terminate.