diff options
author | Jeremias Maerki <jeremias@apache.org> | 2008-02-18 09:00:08 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2008-02-18 09:00:08 +0000 |
commit | a5c33430c6e04172ab219455fdecf86eb9f63aae (patch) | |
tree | 7b6fa3c924ac8c2d9bfb54a8ec12a21b6cdf05e5 /src/java/org/apache/fop/fo | |
parent | 57de10b2fdd6e6f0bbca3aac03bce84d82cfaba3 (diff) | |
download | xmlgraphics-fop-a5c33430c6e04172ab219455fdecf86eb9f63aae.tar.gz xmlgraphics-fop-a5c33430c6e04172ab219455fdecf86eb9f63aae.zip |
No stack traces with missing images.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@628652 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo')
-rw-r--r-- | src/java/org/apache/fop/fo/flow/ExternalGraphic.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/fo/flow/ExternalGraphic.java b/src/java/org/apache/fop/fo/flow/ExternalGraphic.java index 03229e4c2..fdddf3918 100644 --- a/src/java/org/apache/fop/fo/flow/ExternalGraphic.java +++ b/src/java/org/apache/fop/fo/flow/ExternalGraphic.java @@ -19,6 +19,7 @@ package org.apache.fop.fo.flow; +import java.io.FileNotFoundException; import java.io.IOException; import org.xml.sax.Locator; @@ -78,6 +79,8 @@ public class ExternalGraphic extends AbstractGraphics { info = manager.getImageInfo(url, userAgent.getImageSessionContext()); } catch (ImageException e) { log.error("Image not available: " + e.getMessage()); + } catch (FileNotFoundException fnfe) { + log.error(fnfe.getMessage()); } catch (IOException ioe) { log.error("I/O error while loading image: " + ioe.getMessage()); } |