Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/methodThrows/afterRemoveDuplicate.java
Tagir Valeev 7e1064ea3c [java-intentions] More preview tests; minor fixes
GitOrigin-RevId: 22a46c15d8900d8a31514846755a013f6a67ad42
2022-07-29 17:55:13 +00:00

17 lines
417 B
Java

// "Remove 'Exception' from 'f' throws list" "true-preview"
import java.io.FileNotFoundException;
import java.io.IOException;
class A {
/**
* @since 2020.3
* @author me
* @throws Exception first exception
* @throws Exception second exception
* @throws FileNotFoundException file not found
* @throws IOException IO exception
*/
void f() throws /* 1 */ Exception /* 2 */ /* 3 */ /* 4 */ {}
}