test/tools/javac/ThrowsIntersection_3.java

changeset 517
117c95448ab9
parent 1
9a66ca7c79fa
child 554
9d9f26857129
equal deleted inserted replaced
516:7f5db2e8b423 517:117c95448ab9
28 * @author maddox 28 * @author maddox
29 * 29 *
30 * @run compile/fail ThrowsIntersection_3.java 30 * @run compile/fail ThrowsIntersection_3.java
31 */ 31 */
32 32
33 package ThrowsIntersection_3;
34
33 class Ex1 extends Exception {} 35 class Ex1 extends Exception {}
34 class Ex2 extends Exception {} 36 class Ex2 extends Exception {}
35 37
36 interface a { 38 interface a {
37 int m1() throws Ex1; 39 int m1() throws Ex1;

mercurial