mirror of
https://github.com/processing/processing4.git
synced 2026-02-12 01:50:44 +01:00
die() throws ex, kUserDomain for find docs folder on osx
This commit is contained in:
@@ -1266,6 +1266,8 @@ public class PApplet extends Applet
|
||||
public void die(String what) {
|
||||
stop();
|
||||
|
||||
throw new RuntimeException("died: " + what);
|
||||
/*
|
||||
if (online) {
|
||||
System.err.println("i'm dead.. " + what);
|
||||
|
||||
@@ -1273,6 +1275,7 @@ public class PApplet extends Applet
|
||||
System.err.println(what);
|
||||
System.exit(1);
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user