aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/flow/ExternalGraphic.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/fo/flow/ExternalGraphic.java')
-rw-r--r--src/java/org/apache/fop/fo/flow/ExternalGraphic.java3
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());
}