]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
In case where SAX Exception is thrown by Area Tree Parser when parsing Area Tree...
authorChris Bowditch <cbowditch@apache.org>
Mon, 9 Jul 2007 16:08:55 +0000 (16:08 +0000)
committerChris Bowditch <cbowditch@apache.org>
Mon, 9 Jul 2007 16:08:55 +0000 (16:08 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@554693 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/area/RenderPagesModel.java

index ca2d51c8be94d4e6b20d81438f6ab727c6bf8fc0..b8dc28a6fafd65489ad85ed68b79797c1c9fbadd 100644 (file)
@@ -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();