Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/addToThrows/afterLocalClass.java
T

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();
}
}