title: Continue executing loop after catching an exception in try/catch
body: <p>Once an exception is caught in this code, the <code>menuSystem</code> method is run, but once I go to input a number the programme closes and the "Build is successful" message is displayed. Is there any way to get back into the while loop once an exception has occured? </p>
  
  <pre><code>public static void main(String[] args) {
     final UnitResults myUnit = new UnitResults(10, "Java");
     int option = menuSystem();
  
     try {
        while (option != 0) {
           final Scanner keyb = new Scanner(System.in);
           System.out.println("");
           switch (option) {
           }
        }
     } catch (Exception InputMismachException) {
        System.out.println("\nPlease Enter a Valid Number\n");
        option = menuSystem();
     }
  }
  </code></pre>