try { System.out.println("10 / 0 = " + (num1i / num2i)); } catch (Exception ae) { System.out.println("The following error was trapped - " + ae); System.out.println("The program continues"); } System.out.println("Finished");