diff options
author | Jeremias Maerki <jeremias@apache.org> | 2006-04-05 14:04:54 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2006-04-05 14:04:54 +0000 |
commit | 0aaecd54e21c8413e3b870bea0d9a488f0c05aa9 (patch) | |
tree | 088fe40a551bbb2d4586121e11e7ef58fd628175 /src/java/org/apache/fop | |
parent | 573cb063a34516657998dd8153c7d1cfe0877a76 (diff) | |
download | xmlgraphics-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')
-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(); |