Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/addCatchBlock/before4.java
2014-12-06 11:49:04 +03:00

14 lines
268 B
Java

// "Add 'catch' clause(s)" "true"
class MyException1 extends Exception {}
class MyException2 extends Exception {}
class Test {
void foo () throws MyException1, MyException2 {}
void bar () {
try {
<caret>foo();
} catch (MyException1 e) {
}
}
}