mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-26 03:51:12 +07:00
- catch sections are added automatically GitOrigin-RevId: 75aed0b2281ffa0e412b1eaecf90caf406ba0182
57 lines
1008 B
Java
57 lines
1008 B
Java
class X{
|
|
class CheckedException1 extends Exception {
|
|
}
|
|
class CheckedException2 extends Exception {
|
|
}
|
|
public void test() {
|
|
try {
|
|
method1();
|
|
method1();
|
|
method1();
|
|
method1();
|
|
method1();
|
|
method1();
|
|
method1();
|
|
method1();
|
|
method1();
|
|
method1();
|
|
method1();
|
|
method1();
|
|
method1();
|
|
method1();
|
|
method1();
|
|
method1();
|
|
method1();
|
|
method1();
|
|
method1();
|
|
method1();
|
|
method1();
|
|
method1();
|
|
method1();
|
|
method1();
|
|
method1();
|
|
method1();
|
|
method1();
|
|
method1();
|
|
method1();
|
|
method1();
|
|
method1();
|
|
method1();
|
|
method1();
|
|
method1();
|
|
method1();
|
|
method1();
|
|
method1();
|
|
method1();
|
|
method1();
|
|
throw new CheckedException2();
|
|
} catch (Exception e) {
|
|
<selection>throw new RuntimeException(e);</selection><caret>
|
|
}
|
|
}
|
|
|
|
private void method1() throws CheckedException1{
|
|
|
|
}
|
|
}
|