Once an exception is caught in this code, the menuSystem method is run, but once I go to input a number the programme closes and the \"Build is successful\" mes
menuSystem
put your try/catch inside your while loop:
while (option != 0) { final Scanner keyb = new Scanner(System.in); System.out.println(""); try { switch (option) { } } catch (Exception InputMismachException) { System.out.println("\nPlease Enter a Valid Number\n"); option = menuSystem(); } }