(int i)
| 56 | } |
| 57 | |
| 58 | void throwUncaught(int i) |
| 59 | throws ArithmeticException, IllegalStateException { |
| 60 | if (i > 0) { |
| 61 | use(i); |
| 62 | throw new ArithmeticException(); |
| 63 | } |
| 64 | try { |
| 65 | if (i < 0) { |
| 66 | throw new ArithmeticException(); |
| 67 | } else { |
| 68 | throw new IllegalStateException(); |
| 69 | } |
| 70 | } catch (ArithmeticException e) { |
| 71 | } |
| 72 | } |
| 73 | |
| 74 | int nestedThrowCaught(int x) { |
| 75 | try { |
no test coverage detected