diff options
Diffstat (limited to 'src/java/org/apache')
-rw-r--r-- | src/java/org/apache/fop/area/RenderPagesModel.java | 3 |
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(); |