two ignored exceptions

This commit is contained in:
Ben Fry
2021-01-16 22:59:37 -05:00
parent 19f45103ab
commit 416d5dcaf1

View File

@@ -3416,7 +3416,7 @@ public class PApplet implements PConstants {
//if (napTime > 0) {
try {
Thread.sleep(napTime);
} catch (InterruptedException e) { }
} catch (InterruptedException ignored) { }
//}
//}
}
@@ -3533,7 +3533,7 @@ public class PApplet implements PConstants {
/*int result =*/ p.waitFor();
// Not installed will throw an IOException (JDK 1.4.2, Ubuntu 7.04)
openLauncher = launcher;
} catch (Exception e) { }
} catch (Exception ignored) { }
}
if (openLauncher == null) {
System.err.println("Could not find xdg-open, gnome-open, or kde-open: " +