()
| 136 | |
| 137 | // should pass -- catches E, but E thrown by method |
| 138 | public void testPass3() { |
| 139 | try { |
| 140 | for (int i = 0; i < 1000; i++) |
| 141 | for (int j = i; j < 1000; j++) |
| 142 | throwsNothing(); |
| 143 | throwsException(); |
| 144 | } catch (Exception e) { |
| 145 | dontTriggerEmptyExceptionHandler(); |
| 146 | } |
| 147 | } |
| 148 | |
| 149 | // should pass -- catches E, but E thrown by static method |
| 150 | public void testPass4() { |
nothing calls this directly
no test coverage detected