()
| 2 | |
| 3 | class t { |
| 4 | public t() { |
| 5 | try { |
| 6 | throw new NullPointerException("Null pointer exception"); |
| 7 | } |
| 8 | catch(NullPointerException e) { |
| 9 | System.out.println("Caught!"); |
| 10 | throw e; // Rethrow an exception |
| 11 | } |
| 12 | } |
| 13 | } |
| 14 | |
| 15 | public class ExceptThrow { |
nothing calls this directly
no outgoing calls
no test coverage detected