aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/java/org/apache/fop/area/RenderPagesModel.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/area/RenderPagesModel.java b/src/java/org/apache/fop/area/RenderPagesModel.java
index ca2d51c8b..b8dc28a6f 100644
--- a/src/java/org/apache/fop/area/RenderPagesModel.java
+++ b/src/java/org/apache/fop/area/RenderPagesModel.java
@@ -174,6 +174,9 @@ public class RenderPagesModel extends AreaTreeModel {
} catch (Exception e) {
// use error handler to handle this FOP or IO Exception
log.error(e);
+ if (e instanceof RuntimeException) {
+ throw (RuntimeException)e;
+ }
}
pageViewport.clear();
iter.remove();