1
0
şunun yansıması https://github.com/eclipse-aspectj/aspectj.git eşitlendi 2024-08-26 05:57:44 +02:00
org.aspectj/tests/errors/ThrowsClause.java
2002-12-16 18:51:06 +00:00

15 satır
250 B
Java

class C {
public void m() throws Integer { } //ERROR Integer is not a Throwable
public C() throws C { } //ERROR C is not a Throwable
}
class Sup {
public void m() {}
}
class Sub extends Sup {
public void m() throws Exception {}
}