mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-03 15:50:52 +07:00
- tests are extracted - CatchLookupElement works in dumb-mode GitOrigin-RevId: 75b5c34ce124a4315a8a73c020ac08f01ecd9487
20 lines
389 B
Java
20 lines
389 B
Java
class X{
|
|
class CheckedException extends Exception {
|
|
}
|
|
class CheckedException1 extends CheckedException {
|
|
}
|
|
class CheckedException2 extends CheckedException {
|
|
}
|
|
public void test() {
|
|
try {
|
|
method1();
|
|
throw new CheckedException2();
|
|
} catch(CheckedException e) {
|
|
} catch (Exception e)<caret>
|
|
}
|
|
|
|
private void method1() throws CheckedException1{
|
|
|
|
}
|
|
}
|