MCPcopy Index your code
hub / github.com/processing/processing / die

Method die

core/src/processing/core/PApplet.java:3740–3743  ·  view source on GitHub ↗

Function for an applet/application to kill itself and display an error. Mostly this is here to be improved later.

(String what)

Source from the content-addressed store, hash-verified

3738 * display an error. Mostly this is here to be improved later.
3739 */
3740 public void die(String what) {
3741 dispose();
3742 throw new RuntimeException(what);
3743 }
3744
3745
3746 /**

Callers 6

registerNoArgsMethod · 0.95
registerWithArgsMethod · 0.95
unregisterMethodMethod · 0.95
loadFontMethod · 0.95
addMethod · 0.80
addEditMethod · 0.80

Calls 2

disposeMethod · 0.95
printStackTraceMethod · 0.45

Tested by

no test coverage detected