public class ExceptThrower { public int divv(int numer, int denom) { try { return numer / denom; } catch (ArithmeticException e) { System.err.println("Caught in Func " + e); } return 0; } public int divvTh(int numer, int denom) throws ArithmeticException{ return numer / denom; } public static void main(String[] args) { ExceptThrower except = new ExceptThrower(); except.divv(2, 0); try { except.divvTh(4,0); } catch (ArithmeticException ae) { System.err.println("Caught in Main " + ae); } } }