MCPcopy Create free account
hub / github.com/PrajaktaSathe/Java / t

Method t

Programs/excThrow.java:4–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2
3class 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
15public class ExceptThrow {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected