()
| 148 | |
| 149 | // should pass -- catches E, but E thrown by static method |
| 150 | public void testPass4() { |
| 151 | try { |
| 152 | for (int i = 0; i < 1000; i++) |
| 153 | for (int j = i; j < 1000; j++) |
| 154 | throwsNothing(); |
| 155 | staticThrowsException(); |
| 156 | } catch (Exception e) { |
| 157 | dontTriggerEmptyExceptionHandler(); |
| 158 | } |
| 159 | } |
| 160 | |
| 161 | // should pass -- catches E, but RuntimeException caught first |
| 162 | public void testPass5() { |
nothing calls this directly
no test coverage detected