outprintlna caught Ex1 catch Ex4 ex Systemoutprintlna caught Ex4 now cause

Outprintlna caught ex1 catch ex4 ex systemoutprintlna

This preview shows page 6 - 9 out of 9 pages.

System.out.println("a caught Ex1"); } catch (Ex4 ex) { System.out.println("a caught Ex4"); // now cause exception Ex1 to be thrown } } public static void main(String[] args) { a(); } } Page 6 of 9 Exceptions 2008/3/27
Image of page 6