Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/addToThrows/afterLocalClass.java
2018-03-14 17:39:04 +01:00

14 lines
254 B
Java

// "Add exception to method signature" "true"
class C {
interface I { }
public void localException() throws Exception {
class Ex extends Exception { }
class LocalException extends Ex implements I { }
throw new LocalException();
}
}