3 public MyTestClass2(int i) throws Exception {
6 throw new Exception("Exception in constructor");
8 int iarray[]=new int[10];
16 System.out.println("Create new class");
17 MyTestClass2 y=new MyTestClass2(3);
22 public void doSomething() {
23 System.out.println("Something done");
27 public class stubexceptions2 {
29 public static void main(String args[]) {
30 System.out.println("Test1");
32 for (int i=0;i<4;i++) {
35 x=new MyTestClass2(i);
37 } catch (Exception e) {