()
| 124 | |
| 125 | // should pass -- catches E, but E thrown indirectly |
| 126 | public void testPass2() { |
| 127 | try { |
| 128 | for (int i = 0; i < 1000; i++) |
| 129 | for (int j = i; j < 1000; j++) |
| 130 | throwsNothing(); |
| 131 | throw anException; |
| 132 | } catch (Exception e) { |
| 133 | dontTriggerEmptyExceptionHandler(); |
| 134 | } |
| 135 | } |
| 136 | |
| 137 | // should pass -- catches E, but E thrown by method |
| 138 | public void testPass3() { |
nothing calls this directly
no test coverage detected