Files
openide/java/java-tests/testData/codeInsight/completion/normal/UnhandledCheckedExceptionsWithCatch.java
Mikhail Pyltsin ba0a409500 [java-completion] IJ-CR-129761 IDEA-349764 Suggest a full catch section
- tests are extracted
- CatchLookupElement works in dumb-mode

GitOrigin-RevId: 75b5c34ce124a4315a8a73c020ac08f01ecd9487
2024-03-29 12:09:38 +00:00

17 lines
311 B
Java

class X{
class CheckedException1 extends Exception {
}
class CheckedException2 extends Exception {
}
public void test() {
try {
method1();
throw new CheckedException2();
} catch(CheckedException2 e) {
} catc<caret>
}
private void method1() throws CheckedException1{
}
}