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

11 lines
239 B
Java

// "Add exception to existing catch clause" "true"
import java.io.IOException;
class Test {
public static void main(String[] args) {
try {
throw new IOException<caret>();
} catch (IndexOutOfBoundsException e) {
}
}
}