xmlgraphics-fop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cbowdi...@apache.org
Subject svn commit: r554693 - /xmlgraphics/fop/trunk/src/java/org/apache/fop/area/RenderPagesModel.java
Date Mon, 09 Jul 2007 16:08:56 GMT
Author: cbowditch
Date: Mon Jul  9 09:08:55 2007
New Revision: 554693

URL: http://svn.apache.org/viewvc?view=rev&rev=554693
Log:
In case where SAX Exception is thrown by Area Tree Parser when parsing Area Tree XML, error
is logged but Exception should be passed back up to allow a calling Application to abort processing.

Modified:
    xmlgraphics/fop/trunk/src/java/org/apache/fop/area/RenderPagesModel.java

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/area/RenderPagesModel.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/area/RenderPagesModel.java?view=diff&rev=554693&r1=554692&r2=554693
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/area/RenderPagesModel.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/area/RenderPagesModel.java Mon Jul  9 09:08:55
2007
@@ -174,6 +174,9 @@
                 } 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();



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org


Mime
View raw message