From 0aaecd54e21c8413e3b870bea0d9a488f0c05aa9 Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Wed, 5 Apr 2006 14:04:54 +0000 Subject: Don't catch RuntimeExceptions. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@391618 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/area/RenderPagesModel.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/java/org/apache/fop') 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(); -- cgit v1.2.3