32333435363738
throw new Exception1(); } public String method2(String param1) throws Exception2 { throw new Exception2(); }
27282930313233
public void method1() throws Exception1 { throw new Exception1("Test Exception1"); } public String method2(String param1) throws Exception2, Exception1 { throw new Exception2("Test Exception2"); }