mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-25 19:21:16 +07:00
- tests are extracted - CatchLookupElement works in dumb-mode GitOrigin-RevId: 75b5c34ce124a4315a8a73c020ac08f01ecd9487
19 lines
347 B
Java
19 lines
347 B
Java
class X{
|
|
class CheckedException1 extends Exception {
|
|
}
|
|
class CheckedException2 extends Exception {
|
|
}
|
|
public void test() {
|
|
try {
|
|
method1();
|
|
throw new CheckedException2();
|
|
} catch(CheckedException1 e) {
|
|
} catch(CheckedException2 e) {
|
|
} catc<caret>
|
|
}
|
|
|
|
private void method1() throws CheckedException1{
|
|
|
|
}
|
|
}
|