aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/area/RenderPagesModel.java
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2006-04-05 14:04:54 +0000
committerJeremias Maerki <jeremias@apache.org>2006-04-05 14:04:54 +0000
commit0aaecd54e21c8413e3b870bea0d9a488f0c05aa9 (patch)
tree088fe40a551bbb2d4586121e11e7ef58fd628175 /src/java/org/apache/fop/area/RenderPagesModel.java
parent573cb063a34516657998dd8153c7d1cfe0877a76 (diff)
downloadxmlgraphics-fop-0aaecd54e21c8413e3b870bea0d9a488f0c05aa9.tar.gz
xmlgraphics-fop-0aaecd54e21c8413e3b870bea0d9a488f0c05aa9.zip
Don't catch RuntimeExceptions.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@391618 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/area/RenderPagesModel.java')
-rw-r--r--src/java/org/apache/fop/area/RenderPagesModel.java2
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();