From ca9da66f288dfa2a5129117997e45351c2bc9f90 Mon Sep 17 00:00:00 2001 From: benfry Date: Thu, 4 Aug 2005 14:52:53 +0000 Subject: [PATCH] don't check in without building.. --- core/PApplet.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/core/PApplet.java b/core/PApplet.java index 20977b33a..ed53dfd42 100644 --- a/core/PApplet.java +++ b/core/PApplet.java @@ -3206,14 +3206,17 @@ public class PApplet extends Applet filenameActual + " not " + filename + "."); } - } - } catch (IOException e) { } + } catch (IOException e) { } + } // if this file is ok, may as well just load it stream = new FileInputStream(file); if (stream != null) return stream; - } catch (Exception e) { } // ioex or security + // have to break these out because a general Exception might + // catch the RuntimeException being thrown above + } catch (IOException ioe) { + } catch (SecurityException se) { } } try {