Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/addExceptionToExistingCatch/beforeSingleCatch.java

11 lines
265 B
Java

// "Add 'IOException' to catch with 'IndexOutOfBoundsException'" "true"
import java.io.File;
class Test {
public static void main(String[] args) {
try {
new File("path").getCanonical<caret>Path();
} catch (IndexOutOfBoundsException e) {
}
}
}