MCPcopy Create free account
hub / github.com/SeaOfNodes/Simple / bad

Method bad

chapter24/src/test/java/com/seaofnodes/simple/Simple.java:67–71  ·  view source on GitHub ↗
(String err)

Source from the content-addressed store, hash-verified

65
66 static void bad_usage() { bad("Invalid usage (use --help)"); }
67 static RuntimeException bad(String err) {
68 System.err.println("ERROR: "+err);
69 System.exit(1);
70 return new RuntimeException(err);
71 }
72
73 static void target() {
74 System.out.print(TestC.CPU_PORT);

Callers 3

bad_usageMethod · 0.95
dumpMethod · 0.95
mainMethod · 0.95

Calls 1

exitMethod · 0.45

Tested by

no test coverage detected