diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/java/org/apache/fop/area/RenderPagesModel.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/area/RenderPagesModel.java b/src/java/org/apache/fop/area/RenderPagesModel.java index afb55e22e..fbd44780a 100644 --- a/src/java/org/apache/fop/area/RenderPagesModel.java +++ b/src/java/org/apache/fop/area/RenderPagesModel.java @@ -117,6 +117,8 @@ public class RenderPagesModel extends AreaTreeModel { } try { renderer.renderPage(page); + } catch (RuntimeException re) { + throw re; } catch (Exception e) { //TODO use error handler to handle this FOP or IO Exception or propagate exception String err = "Error while rendering page " + page.getPageNumberString(); |