Menu

[r851]: / branches / Version-1 / php-java-bridge / tests.php5 / Exception.java  Maximize  Restore  History

Download this file

23 lines (19 with data), 388 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
public class Exception {
public class Ex extends RuntimeException {
int id;
public Ex(int id) {
this.id = id;
}
public int getID() {
return id;
}
}
public class Inner {
public Integer o = new Integer(33);
public Integer meth(int val) {
if(val==o.intValue()) throw new Ex(o.intValue());
return o;
}
};
public Inner inner = new Inner();
}
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.